Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

ndemarco

Invalid response to PWD command

When connecting to mid-1990s Hewlett-Packard logic analyzer – model 16500C. Local network, no SSL/TLS, no password. The server is "Fusion FTP Server" v3.3.

I read a similar thread, where PWD returned a non-compliant string - but those strings were accepted in a later WinSCP version.

>PWD

<251 "/" is current directory.
(ECommand) Error getting the name of current remote directory.
Invalid response to PWD command '"/" is current directory.

Seems the response to PWD is not what is expected (maybe not compliant with current or supported RFCs?). Way beyond my FTP knowledge, so I'm reaching out to the FTP geniuses.

Full log follows:
. 2022-03-16 16:27:07.320 --------------------------------------------------------------------------
. 2022-03-16 16:27:07.320 WinSCP Version 5.19.6 (Build 12002 2022-02-22) (OS 10.0.22000 - Windows 10 Enterprise)
. 2022-03-16 16:27:07.321 Configuration: C:\Users\nick\OneDrive\Documents\WinSCP\WinSCP.ini
. 2022-03-16 16:27:07.321 Log level: Normal
. 2022-03-16 16:27:07.321 Local account: NICK-XPS13\nick
. 2022-03-16 16:27:07.321 Working directory: C:\Users\nick\OneDrive\Documents\WinSCP
. 2022-03-16 16:27:07.321 Process ID: 40404
. 2022-03-16 16:27:07.335 Ancestor processes: explorer, ...
. 2022-03-16 16:27:07.335 Command-line: "C:\Users\nick\OneDrive\Documents\WinSCP\WinSCP.exe"
. 2022-03-16 16:27:07.336 Time zone: Current: GMT-4, Standard: GMT-5 (Eastern Standard Time), DST: GMT-4 (Eastern Daylight Time), DST Start: 3/13/2022, DST End: 11/6/2022
. 2022-03-16 16:27:07.338 Login time: Wednesday, March 16, 2022 4:27:07 PM
. 2022-03-16 16:27:07.338 --------------------------------------------------------------------------
. 2022-03-16 16:27:07.338 Session name: 16500C (Site)
. 2022-03-16 16:27:07.338 Host name: 10.71.73.230 (Port: 21)
. 2022-03-16 16:27:07.338 User name: control (Password: No, Key file: No, Passphrase: No)
. 2022-03-16 16:27:07.338 Transfer Protocol: FTP
. 2022-03-16 16:27:07.338 Ping type: Dummy, Ping interval: 30 sec; Timeout: 15 sec
. 2022-03-16 16:27:07.338 Disable Nagle: No
. 2022-03-16 16:27:07.338 Proxy: None
. 2022-03-16 16:27:07.338 Send buffer: 262144
. 2022-03-16 16:27:07.338 UTF: Auto
. 2022-03-16 16:27:07.338 FTPS: None [Client certificate: No]
. 2022-03-16 16:27:07.338 FTP: Passive: Yes [Force IP: Auto]; MLSD: Auto [List all: Auto]; HOST: Auto
. 2022-03-16 16:27:07.338 Local directory: default, Remote directory: home, Update: Yes, Cache: Yes
. 2022-03-16 16:27:07.338 Cache directory changes: Yes, Permanent: Yes
. 2022-03-16 16:27:07.338 Recycle bin: Delete to: No, Overwritten to: No, Bin path:
. 2022-03-16 16:27:07.338 Timezone offset: 0h 0m
. 2022-03-16 16:27:07.338 --------------------------------------------------------------------------
. 2022-03-16 16:27:07.399 Connecting to 10.71.73.230 ...
. 2022-03-16 16:27:07.399 Connected with 10.71.73.230. Waiting for welcome message...
< 2022-03-16 16:27:07.399 220 HP16500C V01.00 FUSION FTP server (Version 3.3) ready.
> 2022-03-16 16:27:07.399 USER control
< 2022-03-16 16:27:07.399 230 User CONTROL logged in.
> 2022-03-16 16:27:07.399 SYST
< 2022-03-16 16:27:07.420 500 Command not understood.
> 2022-03-16 16:27:07.420 FEAT
< 2022-03-16 16:27:07.441 500 Command not understood.
. 2022-03-16 16:27:07.464 Connected
. 2022-03-16 16:27:07.464 --------------------------------------------------------------------------
. 2022-03-16 16:27:07.464 Using FTP protocol.
. 2022-03-16 16:27:07.466 Doing startup conversation with host.
> 2022-03-16 16:27:07.496 PWD
< 2022-03-16 16:27:07.513 251 "/" is current directory.
. 2022-03-16 16:27:07.513 Getting current directory name.
> 2022-03-16 16:27:07.514 PWD
< 2022-03-16 16:27:07.532 251 "/" is current directory.
* 2022-03-16 16:27:07.532 (ECommand) Error getting name of current remote directory.
* 2022-03-16 16:27:07.532 Invalid response to PWD command '"/" is current directory.
* 2022-03-16 16:27:07.532 '.
. 2022-03-16 16:27:08.890 Getting current directory name.
> 2022-03-16 16:27:08.890 PWD
< 2022-03-16 16:27:08.908 251 "/" is current directory.
* 2022-03-16 16:27:08.908 (ECommand) Error getting name of current remote directory.
* 2022-03-16 16:27:08.908 Invalid response to PWD command '"/" is current directory.
* 2022-03-16 16:27:08.908 '.
. 2022-03-16 16:27:09.620 Getting current directory name.
> 2022-03-16 16:27:09.620 PWD
< 2022-03-16 16:27:09.639 251 "/" is current directory.
* 2022-03-16 16:27:09.639 (ECommand) Error getting name of current remote directory.
* 2022-03-16 16:27:09.639 Invalid response to PWD command '"/" is current directory.
* 2022-03-16 16:27:09.639 '.
. 2022-03-16 16:27:10.257 Getting current directory name.
> 2022-03-16 16:27:10.258 PWD
< 2022-03-16 16:27:10.289 251 "/" is current directory.
* 2022-03-16 16:27:10.290 (ECommand) Error getting name of current remote directory.
* 2022-03-16 16:27:10.290 Invalid response to PWD command '"/" is current directory.
* 2022-03-16 16:27:10.290 '.
. 2022-03-16 16:27:10.795 Attempt to close connection due to fatal exception:
* 2022-03-16 16:27:10.795 Internal error fz#list (0010).
. 2022-03-16 16:27:10.795 LIST with -a failed, will try pure LIST
. 2022-03-16 16:27:10.828 Disconnected from server
. 2022-03-16 16:27:10.861 Connecting to 10.71.73.230 ...
. 2022-03-16 16:27:10.964 Connected with 10.71.73.230. Waiting for welcome message...
< 2022-03-16 16:27:10.972 220 HP16500C V01.00 FUSION FTP server (Version 3.3) ready.
> 2022-03-16 16:27:10.972 USER control
< 2022-03-16 16:27:11.010 230 User CONTROL logged in.
> 2022-03-16 16:27:11.010 SYST
< 2022-03-16 16:27:11.030 500 Command not understood.
> 2022-03-16 16:27:11.030 FEAT
< 2022-03-16 16:27:11.050 500 Command not understood.
. 2022-03-16 16:27:11.059 Connected
. 2022-03-16 16:27:11.061 Doing startup conversation with host.
> 2022-03-16 16:27:11.078 PWD
< 2022-03-16 16:27:11.095 251 "/" is current directory.
. 2022-03-16 16:27:11.096 Getting current directory name.
> 2022-03-16 16:27:11.096 PWD
< 2022-03-16 16:27:11.114 251 "/" is current directory.
* 2022-03-16 16:27:11.114 (ECommand) Error getting name of current remote directory.
* 2022-03-16 16:27:11.114 Invalid response to PWD command '"/" is current directory.
* 2022-03-16 16:27:11.114 '.
. 2022-03-16 16:27:12.091 Attempt to close connection due to fatal exception:
* 2022-03-16 16:27:12.091 (Exception) Invalid response to PWD command '"/" is current directory.
 
* 2022-03-16 16:27:12.091 '.
* 2022-03-16 16:27:12.147 (EFatal) Invalid response to PWD command '"/" is current directory.
 
* 2022-03-16 16:27:12.147 '.
* 2022-03-16 16:27:12.147 Error listing directory ''.