Hab jetzt noch mal weiter experimentiert:
Code: Alles auswählen
$ curlftpfs -v ftp://192.168.1.1 /mnt/x
* Couldn't find host 192.168.1.1 in the .netrc file, using defaults
* About to connect() to 192.168.1.1 port 21 (#0)
* Trying 192.168.1.1... * connected
* Connected to 192.168.1.1 (192.168.1.1) port 21 (#0)
< 230 User logged in.
* Got a 230 ftp-server response when 220 was expected
* Closing connection #0
Error connecting to ftp: Got a 230 ftp-server response when 220 was expected
"< 230 User logged in." klingt doch erstmal gut. Warum wird denn die Verbindung beendet?
Das hier klappt ja einwandfrei:
Code: Alles auswählen
$ curlftpfs -v ftp://mirror.netcologne.de/knoppix /mnt/x
* Couldn't find host mirror.netcologne.de in the .netrc file, using defaults
* About to connect() to mirror.netcologne.de port 21 (#0)
* Trying 194.8.197.22... * connected
* Connected to mirror.netcologne.de (194.8.197.22) port 21 (#0)
< 220 Welcome to the NetCologne mirror serivce FTP server!
> USER anonymous
< 331 Please specify the password.
> PASS ftp@example.com
< 230 Login successful.
> PWD
< 257 "/"
* Entry path is '/'
> CWD knoppix
< 250-Check KNOPPIX-CHANGELOG.txt for the recent changes in KNOPPIX.
< 250-
< 250-Images ending in -EN.iso are booting in english by default, -DE.iso is the german
< 250-version. You can switch languages on the boot commandline using the lang= option.
< 250-
< 250-See also: http://knopper.net/knoppix/
< 250 Directory successfully changed.
* Remembering we are in dir "knoppix/"
* Connection #0 to host mirror.netcologne.de left intact
Es sieht ja fast so aus, als würde curlftpfs diese mit 230 beginnende Zeile als Fehler ansehen, weil es eigentlich erst eine mit 220 beginnende Antwort erwartet.
Was muss ich ändern, wie kann ich die Verbindung zu meinem FTP-Server halten?
Was erhält man, wenn man einen Windows-PC abschaltet? – Ausgemachten Blödsinn.