Angus
Now trying with your components and although it's much better behaved
and fails gracefully, it still fails (in my app or the supplied demo app).
However as both your app and my app fail with my hosted FTP server and
both work with your FTP server, I'm going to assume that there's
something amiss with the ISP's FTP offering. Any clues in the log as to
what it could be ?
This is the end of the log - though it doesn't always die in the same
place - sometimes it's during the directory listing stage.
Source Directory: /pub/HireTRACK NX/autoupdates/
Target Directory: c:\FTP_test
Source Files Skipped 0
Selected Total Files 1139, Total Size 700,295,024
Started FTP Download from: ftp.navigator.co.uk
> CWD /pub/HireTRACK NX/autoupdates/HireTrack NX/3.0.1.151/
< 250 CWD command successful
> PWD
< 257 "/pub/HireTRACK NX/autoupdates/HireTrack NX/3.0.1.151" is the
current directory
> MLST HireTrack NX.CAB
<
modify=20130803144603;perm=adfr;size=12325384;type=file;unique=811U141EC093;UNIX.group=697921;UNIX.mode=0644;UNIX.owner=10749373;
HireTrack NX.CAB
< 250 End of list
Downloading File: /pub/HireTRACK NX/autoupdates/HireTrack
NX/3.0.1.151/HireTrack NX.CAB to c:\FTP_test\HireTrack
NX\3.0.1.151\HireTrack NX.CAB, Size 12,325,384
Saved File Resume Info c:\ftp_test\hiretrack nx\3.0.1.151\hiretrack
nx_cab.ftp
> PASV
< 227 Entering Passive Mode (205,196,214,163,235,210).
15:16:02:153 ! Data Socket Connect
15:16:02:153 011A0800 Socket handle created 324
15:16:02:169 TWSocket will connect to 205.196.214.163:60370
> RETR HireTrack NX.CAB
15:16:02:325 ! Data Session Connected (Get)
< 150 Opening BINARY mode data connection for HireTrack NX.CAB (12325384
bytes)
FTP Session Closed
15:16:04:263 011A0800 TCustomWSocket.Shutdown 1 324
15:16:04:263 ! Data Session closed
15:16:04:263 011A0040 TCustomWSocket.Shutdown 1 292
Downloaded File c:\ftp_test\hiretrack nx\3.0.1.151\hiretrack nx_cab.tmp,
Size 321,058
Request Failed: Partial File Downloaded, Resume Allowed, Expected File
Size 12,325,384, Actual Size 321,058
Download Failed: 500 Control connection closed - Winsock - No Error (#0)
No Connection to Server, Cancelled Downloading Files
Task Result: Failed
No Connection to Server, Cancelled Downloading Files
David
--
############################################################
David Rose
Navigator Systems Ltd,
Network Business Centre,
9 River Street Place, Julian Road,
Bath BA1 2RS
Main Tel: +44 (0)207 183 0011
Fax: +44 (0)1225 464984
Company Email: da...@navigator.co.uk (Private e-mail on request)
CONFIDENTIALITY NOTICE
The contents of this e-mail are confidential to the ordinary user of
the e-mail address to which it was addressed and may also be
privileged. If you are not the addressee of this e-mail you may not
copy, forward, disclose or otherwise use it or any part of it in any
form whatsoever. If you have received this e-mail in error please
e-mail the sender by replying to this message.
--
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