I recently set up a page that will allow users to download a
free software applications from our site provided that they fill in
the form of requested information with a valid email address. The
page emails them a code that they then input and is verified
against the one stored with their information. When the go to
download the file I'm using CFHeader and CFContent tags to serve up
the file but I have had a couple of clients report that the
connection gets dropped for them and they have to start the
download over again.
I'm thinking that this one particular client is on dial-up.
The reason I began using this method was that people were just
entering bogus information into the forms and then other were
linking directly to the file. A few people doing this using
download managers were effectively bringing the server to a halt in
something similar to a DOS attack.
Is there something that I'm leaving out to make the download
of the file resumable? I'm running Apache 2.0, ColdFusion MX 6.1
running on WinXP SP2 (I know, I'm trying to get it upgraded)
The button on the download page call a file (download.cfm)
using the following code:
This passes some variable including the file name and others
for updating a database.
The DOWNLOADS.cfm exectutes the following page with a script
that opens up a file with the header and content tags and closes it
<META HTTP-EQUIV="Content-Type" CONTENT="text/html;
<TITLE>CARIS Free Software Download</TITLE>