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

safetykleen

I resolved my issue. I changed the folder from a mapped drive to a UNC and it worked
safetykleen

The system cannot find the path specified

I'm recently getting the following error while running this as a task:

C:\FTP\WinSCP\WinSCP.exe /console /script="Scripts\Rimillia.scp" /log="rimillia.log" /loglevel=0


2020-07-22 15:28:25.578 Changing directory to "/".

. 2020-07-22 15:28:25.578 Getting real path for '/'
> 2020-07-22 15:28:25.578 Type: SSH_FXP_REALPATH, Size: 10, Number: 16
< 2020-07-22 15:28:25.578 Type: SSH_FXP_NAME, Size: 23, Number: 16
. 2020-07-22 15:28:25.578 Real path is '/'
. 2020-07-22 15:28:25.578 Trying to open directory "/".
> 2020-07-22 15:28:25.578 Type: SSH_FXP_LSTAT, Size: 10, Number: 263
< 2020-07-22 15:28:25.578 Type: SSH_FXP_ATTRS, Size: 37, Number: 263
. 2020-07-22 15:28:25.578 Getting current directory name.
. 2020-07-22 15:28:25.578 Startup conversation with host finished.
< 2020-07-22 15:28:25.609 Script: Error changing directory to 'Q:\Public-UK\FTP\Rimillia\Live\Exports'.
< 2020-07-22 15:28:25.609 System Error.  Code: 3.

< 2020-07-22 15:28:25.609 The system cannot find the path specified
< 2020-07-22 15:28:25.609 Script: Active session: [1] Rimillia
. 2020-07-22 15:28:25.609 Script: Failed
. 2020-07-22 15:28:25.609 Script: Exit code: 1
. 2020-07-22 15:28:25.609 Closing connection.
. 2020-07-22 15:28:25.609 Sending special code: 1
. 2020-07-22 15:28:25.609 Main session channel closed
. 2020-07-22 15:28:25.609 All channels closed