Topic "Invalid response to PWD command"

Author Message
juelicher

Guest


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 fr 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: Ungltige Zeichenfolge empfangen, UTF-8 wird deaktiviert. Whlen Sie UTF-8 im Servermanager um UTF-8 zu erzwingen.
2010-01-19 16:20:36 6064 2 Antwort: 331 Kennwort fr 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 fr /bin/ls wird geffnet.
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
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24555
Location: Prague, Czechia
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.
_________________
Martin Prikryl
juelicherl
[View user's profile]

Joined: 2010-01-19
Posts: 1
Location: Pfullendorf, Germany
Email sent.

Lars
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24555
Location: Prague, Czechia
This issue has been added to tracker.
_________________
Martin Prikryl
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License