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.