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

madhatter0

Success

Thanks, Martin. That worked. I took out the / before the folder names and was able to navigate to the correct folders.
madhatter0

Status Code: 2 -- File not found

When I connect to an SFTP site via WinSCP, I can see the 2 directories: /from_ar and /to_ar. But, when I try to connect via a script and try to change to one of the directories, I get the following:
> 2021-07-19 14:58:03.020 Script: cd /from_ar
. 2021-07-19 14:58:03.020 Changing directory to "/from_ar".
. 2021-07-19 14:58:03.020 Getting real path for '/from_ar'
> 2021-07-19 14:58:03.020 Type: SSH_FXP_REALPATH, Size: 17, Number: 528
< 2021-07-19 14:58:03.053 Type: SSH_FXP_STATUS, Size: 34, Number: 528
< 2021-07-19 14:58:03.053 Status code: 2, Message: 528, Server: No such file, Language: en-US
* 2021-07-19 14:58:03.053 (ECommand) Error changing directory to '/from_ar'.
* 2021-07-19 14:58:03.053 Cannot get real path for '/from_ar'.
* 2021-07-19 14:58:03.054 No such file or directory.
* 2021-07-19 14:58:03.054 Error code: 2

I confirmed that the directories are all lower case. I am attaching the full log file.

WinSCP version: 5.17.10 (Build 11087)
Windows version: Windows Server 2019

Julie Stern
Datacor, Inc.