Newsgroups : Borland : borland.public.delphi.internet.winsock : 2007 Mar : Indy FTP
| Subject: | Indy FTP |
| Posted by: | "Arnau Font" (afont@nospam_really_ipssoft.com) |
| Date: | Fri, 23 Mar 2007 19:11:27 |
Hi group,
I'm using the TidFTP component (Indy 9) to download files from a FTP server.
It goes fine, but if I download large files or the download goes very slow
(about 20 min of download), the thread hangs in that call (or looks like).
I have something like this:
try
FTP.connect(bla bla);
try
FTP.Get(bla bla);
logSuccess;
except
logError;
end;
FTP.Disconnect;
except
logError;
end;
If it goes fine, I get the success message in the eventLog, but, sometimes
(slow download, big files) I get no message, so I guess that the thread is
blocked in the Get call. Any ideas?
I have one question, should I keep sending NOOPs to the server, even though
I'm doing a GET?
Thanks for your help!!