|Subject:||Downloading large files|
|Posted by:||Gerald Benusa (bbenu…@tibsite.com)|
|Date:||Fri, 6 May 2005|
In referenece to file size, I understand the upper limitation. However, are
there any special flags or commands for downloading several large files
within the same list method call.
I am using Indy 9 with Delphi 7 and connect to an IIS FTP server to download
several zip files. The file sizes are between 100 MB up to 690 MB. There
are approx 5 files to download. I am performing some stress testing so I am
trying this every 60 seconds after a successful download of all files has
I launch the download in a thread of its own so when the list method is
fired it will download all files within its own thread. When done I
disconnect and free the TIdFTP, wait 60 seconds and launch the thread to
download the same files again. Once the second round has started it appears
to freeze and does not complete the downloading. I have to terminate the
thread and restart the app.
I also have noticed that if I have multiple download threads running, if all
the files to be downloaded are small in size (say under 100Kbytes) then all
goes well for over and hour or so, but, if one of the download threads
contain large files (as mentioned above) the thread with the larger files
has the mentioned EIdConnClosedGracefully exception I have been reading
about in many places.