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

martin

As per RFC 959, the FTP server is required to enclose the path in double-quotes in response to PWD command:

257<space>"<directory-name>"<space><commentary>

See Appendix II in https://datatracker.ietf.org/doc/html/rfc959

Your server violates that by responding:
257 /clocal/ecx/ecx36/data/tmp/65666 is current directory
leasestrat

Error Log as requested
martin

Re: Invalid Response to PWD command

Please attach a full log file showing the problem (using the latest version of WinSCP).

To generate log file, enable logging, log in to your server and do the operation and only the operation that causes the error. Submit the log with your post as an attachment. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you can mark the attachment as private.
leasestrat

Invalid Response to PWD command

I am getting an Invalid Response to PWD Command when logging into a clients FTP Server. I can successfully login using CuteFTP and can see that the client server is sending the following response to the PWD command

PWD
257 /clocal/ecx/ecx36/data/tmp/65666 is current directory.

I am using WinSCP version 5.5.4 (Build 4433) on a Windows 8 server and connecting via FTP. I am also using the GUI in Commander mode