I'm having problems on Windows7 when uploading files via ftp to my webhoster e. g. by Filezilla. I've set the mode to "passive". When I try to upload a file the progress bar reaches 100% fastly, then everything hangs and after some time I get a message about a timeout:
Status: Auflösen der IP-Adresse für ulrichbangert.de Status: Verbinde mit 85.13.140.237:21... Status: Verbindung hergestellt, warte auf Willkommensnachricht... Status: Initialisiere TLS... Status: Überprüfe Zertifikat... Status: TLS-Verbindung hergestellt. Status: Angemeldet Status: Empfange Verzeichnisinhalt für "/"... Status: Anzeigen des Verzeichnisinhalts für "/" abgeschlossen Status: Empfange Verzeichnisinhalt für "/div"... Status: Ungültige Zeichenfolge empfangen, UTF-8 wird deaktiviert. Wählen Sie UTF-8 im Servermanager, um UTF-8 zu erzwingen. Status: Anzeigen des Verzeichnisinhalts für "/div" abgeschlossen Status: Empfange Verzeichnisinhalt für "/div/testftp"... Status: Anzeigen des Verzeichnisinhalts für "/div/testftp" abgeschlossen Status: Auflösen der IP-Adresse für ulrichbangert.de Status: Verbinde mit 85.13.140.237:21... Status: Verbindung hergestellt, warte auf Willkommensnachricht... Status: Initialisiere TLS... Status: Überprüfe Zertifikat... Status: TLS-Verbindung hergestellt. Status: Angemeldet Status: Starte Upload von D:\temp_Webprogrammierung\test4.html Befehl: CWD /div/testftp Antwort: 250 CWD command successful Befehl: PWD Antwort: 257 "/div/testftp" is the current directory Befehl: TYPE A Antwort: 200 Type set to A Befehl: PASV Antwort: 227 Entering Passive Mode (85,13,140,237,195,174). Befehl: STOR test4.html Antwort: 150 Opening ASCII mode data connection for test4.html Fehler: Zeitüberschreitung der Verbindung nach 20 Sekunden Inaktivität Fehler: Dateiübertragung fehlgeschlagen
The last lines translate: "Error: Timeout of connection after 20 sec inacitivity" "Error: Transmission of file failed" Other FTP clients encounter the same errror. When I use my smartphone and transfer files via the same WLAN to the same server everything works fine. Thus the problem seems to be located on my local PC. Switching off firewall (windows7) and antivirus software didn't remove the problem. I tried using the command line FTP and there everything works fine. I learned that the command line FTP uses active mode. Therefore I tried to set Filezilla to active too but then I do not get the directory listing after connection:
Status: Auflösen der IP-Adresse für ulrichbangert.de Status: Verbinde mit 85.13.140.237:21... Status: Verbindung hergestellt, warte auf Willkommensnachricht... Status: Initialisiere TLS... Status: Überprüfe Zertifikat... Status: TLS-Verbindung hergestellt. Status: Angemeldet Status: Empfange Verzeichnisinhalt für "/"... Befehl: CWD / Antwort: 250 CWD command successful Befehl: TYPE I Antwort: 200 Type set to I Befehl: PORT 192,168,1,100,196,2 Antwort: 200 PORT command successful Befehl: MLSD Fehler: Zeitüberschreitung der Verbindung nach 20 Sekunden Inaktivität Fehler: Verzeichnisinhalt konnte nicht empfangen werden
The last lines translate: "Error: Timeout of connection after 20 sec of inactivity" "Error: Content of directory could not be received"
I'm helpless and search for support. Threads at stackoverflow and https://www.windows-7-forum.net provided no solution.
Best regards - Ulrich
ftp
does not. Did you try to turn off encryption in FileZilla? If this does not help, we need to see: 1) English logs of FileZilla (switch FileZilla to English, do not try to translate the logs on your own), 2) Output of command-lineftp.exe
. 3) If possible, some logs/output of the FTP client on your smartphone.