> I made a typo with the file size. It is 84Mbytes (not 84GBytes) 
> that fails. 39MByte file is OK

Those are trivial sizes for FTP uploads, no reason for difference in
behaviour between those sizes. 

Is this file specific?  What about 100 or 200 megs?  

When I was downloading a VHD (disk image) file, the transfer kept failing
at about 6 gigs (and TMagFtp then repeated the download several times). I
finally discovered by hardware firewall was virus checking FTP downloads
and found a development tool on the disk image that it considered a
hacking tool, so closed the FTP connection.  So can waste time looking
for a bug that is actually totally unrelated to your code. 

Basically you need a lot of logging, OnRequestDone in particular, also
OnStateChange, to find out what events are called normally, and then see
what is missing when it fails.   

> Your Mag demo works.

So nothing wrong with ICS FTP, it must be your code.  Why not use TMagFtp,
it works and hides all this hard stuff from you. 

> I have tried playing with the FTP Client Timeout property, but I 
> don't think this is relevant here.

Timeout is only used when calling sync events, so that the function calls
return at some point.  


To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to