The transfer starts OK and over 1000 files are transferred without problems and then the transfer stops.
Further investigation reveals that the server has locked me out due to having too many connections - usually between (400 and 500).
I am using plain FTP and have tried both passive and active modes.
My ISP have blamed everybody and his dog for this error but I feel the issue is simply a case of some connections not being closed for some reason. Most of the connections must be being closed otherwise it would fail after transferring 400 - 500 files.
I have max # of connections set to 1.
The transfer report offers no clues but I understand why the server closes down but that is only as a result of file handles not being tidied up, can anyone offer any suggestions as to why this is happening.
Code: Select all
Status: Starting download of xxxxxx/xxxxxx/php/images/pastelswhite/images/pastelswhite1.png
Status: File transfer successful, transferred 930 bytes in 1 second
Status: Starting download of xxxxxx/xxxxxx/php/images/pastelsyellow/pastelsyellow.psd
Command: CWD xxxxxx/xxxxxx/php/images/pastelsyellow
Response: 250 OK. Current directory is xxxxxx/xxxxxx/php/images/pastelsyellow
Command: PWD
Response: 257 "xxxxxx/xxxxxx/php/images/pastelsyellow" is your current location
Command: PORT xxx.xxx.xxx.xxx
Response: 200 PORT command successful
Command: RETR pastelsyellow.psd
Error: Disconnected from server: ECONNABORTED - Connection aborted
Error: File transfer failed
Status: Disconnected from server
Status: Connecting to xxx.xxx.xxx.xxx...
Status: Connection attempt failed with "ETIMEDOUT - Connection attempt timed out".
Error: Could not connect to server
Status: Disconnected from server
Status: Delaying connection for 5 seconds due to previously failed connection attempt...
Status: Connecting to xxx.xxx.xxx.xxx...