Invalid response to PWD command

Advertisement

juelicher
Guest

Invalid response to PWD command

I've got problems to connect to an AIX 4 machine. WinSCP portable is telling me the response of the PWD command is invalid:
...
. 2010-01-19 12:02:56.558 --------------------------------------------------------------------------
. 2010-01-19 12:02:56.558 WinSCP Version 4.1.9 (Build 416) (OS 5.1.2600 Service Pack 3)
. 2010-01-19 12:02:56.558 Login time: Dienstag, 19. Januar 2010 12:02:56
. 2010-01-19 12:02:56.558 --------------------------------------------------------------------------
. 2010-01-19 12:02:56.558 Session name: escadfs1
. 2010-01-19 12:02:56.558 Host name: 172.16.3.50 (Port: 21)
. 2010-01-19 12:02:56.558 User name: root (Password: Yes, Key file: No)
. 2010-01-19 12:02:56.558 Tunnel: No
. 2010-01-19 12:02:56.558 Transfer Protocol: FTP
. 2010-01-19 12:02:56.558 Ping type: C, Ping interval: 30 sec; Timeout: 15 sec
. 2010-01-19 12:02:56.558 Proxy: none
. 2010-01-19 12:02:56.558 FTP: Passive: No
. 2010-01-19 12:02:56.558 Local directory: default, Remote directory: home, Update: No, Cache: Yes
. 2010-01-19 12:02:56.558 Cache directory changes: Yes, Permanent: Yes
. 2010-01-19 12:02:56.558 DST mode: 1
. 2010-01-19 12:02:56.558 --------------------------------------------------------------------------
. 2010-01-19 12:02:56.605 Connecting to 172.16.3.50 ...
. 2010-01-19 12:02:56.605 Connected with 172.16.3.50. Waiting for welcome message...
< 2010-01-19 12:02:56.605 220 ESCADFS1 FTP-Server (Version 4.1 Wed Feb 27 11:03:17 CST 2002) bereit.
> 2010-01-19 12:02:56.605 USER root
. 2010-01-19 12:02:56.605 Server does not send proper UTF-8, falling back to local charset
< 2010-01-19 12:02:56.605 331 Kennwort für root erforderlich.
> 2010-01-19 12:02:56.605 PASS ***********
< 2010-01-19 12:02:56.605 230 Benutzer root hat sich angemeldet.
> 2010-01-19 12:02:56.605 SYST
< 2010-01-19 12:02:56.605 215 UNIX-Typ: L8 Version: BSD-44
> 2010-01-19 12:02:56.605 FEAT
< 2010-01-19 12:02:56.605 500 'FEAT': Befehl unbekannt.
. 2010-01-19 12:02:56.605 Connected
. 2010-01-19 12:02:56.605 Got reply 1 to the command 1
. 2010-01-19 12:02:56.605 --------------------------------------------------------------------------
. 2010-01-19 12:02:56.605 Using FTP protocol.
. 2010-01-19 12:02:56.605 Doing startup conversation with host.
> 2010-01-19 12:02:56.605 PWD
< 2010-01-19 12:02:56.605 257 '/' ist das aktuelle Verzeichnis.
. 2010-01-19 12:02:56.605 Got reply 1 to the command 16
. 2010-01-19 12:02:56.605 Getting current directory name.
> 2010-01-19 12:02:56.605 PWD
< 2010-01-19 12:02:56.605 257 '/' ist das aktuelle Verzeichnis.
. 2010-01-19 12:02:56.605 Got reply 1 to the command 16
* 2010-01-19 12:02:56.605 (ECommand) Error getting name of current remote directory.
* 2010-01-19 12:02:56.605 Invalid response to PWD command ''/' ist das aktuelle Verzeichnis.
* 2010-01-19 12:02:56.605 '.
. 2010-01-19 12:02:58.715 Getting current directory name.
> 2010-01-19 12:02:58.715 PWD
< 2010-01-19 12:02:58.715 257 '/' ist das aktuelle Verzeichnis.
. 2010-01-19 12:02:58.715 Got reply 1 to the command 16
* 2010-01-19 12:02:58.715 (ECommand) Error getting name of current remote directory.
* 2010-01-19 12:02:58.715 Invalid response to PWD command ''/' ist das aktuelle Verzeichnis.
* 2010-01-19 12:02:58.715 '.
. 2010-01-19 12:02:59.246 Getting current directory name.
> 2010-01-19 12:02:59.246 PWD
< 2010-01-19 12:02:59.246 257 '/' ist das aktuelle Verzeichnis.
. 2010-01-19 12:02:59.246 Got reply 1 to the command 16
* 2010-01-19 12:02:59.246 (ECommand) Error getting name of current remote directory.
* 2010-01-19 12:02:59.246 Invalid response to PWD command ''/' ist das aktuelle Verzeichnis.
* 2010-01-19 12:02:59.246 '.
. 2010-01-19 12:02:59.871 Attempt to close connection due to fatal exception:
* 2010-01-19 12:02:59.871 Internal error fz#list (0010).
. 2010-01-19 12:02:59.871 Got reply 1004 to the command 16
* 2010-01-19 12:02:59.887 (ESshFatal) Internal error fz#list (0010).
* 2010-01-19 12:02:59.887 Error listing directory ''.
. 2010-01-19 12:03:02.340 Disconnected from server
...
All attempts with other clients are successful. For example FileZilla is doing it that way:
...
2010-01-19 16:20:36 6064 2 Status: Verbinde mit 172.16.3.50:21...
2010-01-19 16:20:36 6064 2 Status: Verbindung hergestellt, warte auf Willkommensnachricht...
2010-01-19 16:20:36 6064 2 Antwort: 220 ESCADFS1 FTP-Server (Version 4.1 Wed Feb 27 11:03:17 CST 2002) bereit.
2010-01-19 16:20:36 6064 2 Befehl: USER root
2010-01-19 16:20:36 6064 2 Status: Ungültige Zeichenfolge empfangen, UTF-8 wird deaktiviert. Wählen Sie UTF-8 im Servermanager um UTF-8 zu erzwingen.
2010-01-19 16:20:36 6064 2 Antwort: 331 Kennwort für root erforderlich.
2010-01-19 16:20:36 6064 2 Befehl: PASS ***********
2010-01-19 16:20:36 6064 2 Antwort: 230 Benutzer root hat sich angemeldet.
2010-01-19 16:20:36 6064 2 Befehl: SYST
2010-01-19 16:20:36 6064 2 Antwort: 215 UNIX-Typ: L8 Version: BSD-44
2010-01-19 16:20:36 6064 2 Befehl: FEAT
2010-01-19 16:20:36 6064 2 Antwort: 500 'FEAT': Befehl unbekannt.
2010-01-19 16:20:36 6064 2 Status: Verbunden
2010-01-19 16:20:36 6064 2 Status: Empfange Verzeichnisinhalt...
2010-01-19 16:20:36 6064 2 Befehl: PWD
2010-01-19 16:20:36 6064 2 Antwort: 257 '/' ist das aktuelle Verzeichnis.
2010-01-19 16:20:36 6064 2 Befehl: TYPE I
2010-01-19 16:20:36 6064 2 Antwort: 200 Typ wird auf I gesetzt.
2010-01-19 16:20:36 6064 2 Befehl: PASV
2010-01-19 16:20:36 6064 2 Antwort: 227 Passivmodus wird aktiviert (172,16,3,50,136,95)
2010-01-19 16:20:36 6064 2 Befehl: LIST
2010-01-19 16:20:36 6064 2 Antwort: 150 Datenverbindung für /bin/ls wird geöffnet.
2010-01-19 16:20:36 6064 2 Antwort: 226 Übertragung abgeschlossen.
2010-01-19 16:20:36 6064 2 Status: Anzeigen des Verzeichnisinhalts abgeschlossen
...
Does somebody have an idea?

Thanks

Lars

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,467
Location:
Prague, Czechia

Re: Invalid response to PWD command

Can you send me an email, so I can send you back a debug version of WinSCP to track the problem? Please include link back to this topic in your email. Also note in this topic that you have sent the email. Thanks.

You will find my address (if you log in) in my forum profile.

Reply with quote

Advertisement

You can post new topics in this forum