6
3
I am downloading thousands of files over FTP using Filezilla. The download takes several hours, so I want to run it overnight, but there is a problem - Filezilla keeps re-asking the password every now and then - almost like every 10 minutes! Why? How to fix this?
I've enabled FileZilla to establish 2 simultaneous FTP connections. It is strange that FileZilla keeps re-asking for password, even if I have set Logontype
to "Ask for password". Snip from the documentation:
Ask for password: FileZilla asks you the password during logon, and it remembers the password during the session.
Interactive: FileZilla asks for the password, and asks again for every new connection to the server.
This means that when I set "Ask for password", it shouldn't ask for every new connection to the server. Yet it does ask again and again...
Site manager settings:
Login settings:
Settings:
The log just after Filezilla re-asks the password (with 1 simultaneous connection only the log looks exactly the same):
Command: PASV
Response: 227 Entering Passive Mode (81,31,47,235,239,66).
Command: RETR P034624.jpg
Response: 150 Opening BINARY mode data connection for P034624.jpg (1242518 bytes)
Response: 226 Transfer complete
Status: File transfer successful, transferred 1 242 518 bytes in 1 second
Status: Starting download of /avif/photos/orig/P034625.jpg
Command: PASV
Error: GnuTLS error -53 in gnutls_record_send: Error in the push function.
Error: Could not write to socket: ECONNABORTED - Connection aborted
Error: Disconnected from server
Error: File transfer failed
Status: Resolving address of ftp.birds.cz
Status: Connecting to 81.31.47.235:21...
Status: Connection established, waiting for welcome message...
Response: 220 iris.fortion.net
Command: AUTH TLS
Response: 234 AUTH TLS successful
Status: Initializing TLS...
Status: Verifying certificate...
Command: USER birds.cz
Status: TLS/SSL connection established.
Response: 331 Password required for birds.cz
Command: PASS
Response: 530 Login incorrect.
Error: Critical error
Error: Could not connect to server
Screenshot of the log right after Filezilla re-asks the password:
If I switch to Active mode, the download works without re-asking the password!!! (Tested with 1 simultaneous connection and Timeout = 0).
But, delete doesn't work - it will break the connection after like 400 deleted files in both active and passive mode, 1 sim. connection, timeout 0. This time it doesn't re-ask the password, it just stops. The log:
Command: DELE P025791.jpg
Response: 250 DELE command successful
Command: DELE P025792.jpg
Response: 250 DELE command successful
Command: DELE P025793.jpg
Error: GnuTLS error -53 in gnutls_record_send: Error in the push function.
Error: Could not write to socket: ECONNABORTED - Connection aborted
Error: Disconnected from server
Conclusion
The above testing was done from my office, Windows 7, behind Zyxel P660HW-T3 FW/modem with more or less default settings. Switching to passive mode has helped here for downloading, for deleting no remedy found. When I tried from home, Windows XP, Filezilla 3.7.3 (current), behind Edimax BR6225N/BR6226N FW/modem, it both downloading and deleting went all OK even with default settings (timeout = 20, 2 sim. connections, passive mode)!!!
Edit: now I tried to delete the files from home, it was OK, then moved with my laptop to office (without closing Filezilla) and suddenly it was also OK! But yesterday from office the deletion stopped after almost 400 files. Interesting! Maybe it depends where I log in first?
Have you had any issues with intermittent connectivity? – Michael H – 2013-10-11T15:28:08.300
Nope. And it is tested well from different places (ssh connections working fine etc.). – Tomas – 2013-10-11T15:35:42.980