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

Re: Winscp: Version 5.13.4 (Build 8731) - Error code 2 (When pasting files using SFTP)

Please provide us step-by-step instructions for reproducing the problem, as well as a corresponding session log file.
piedmont_75

Winscp: Version 5.13.4 (Build 8731) - Error code 2 (When pasting files using SFTP)

Winscp: Version 5.13.4 (Build 8731)

FTP - Works fine

SFTP - Cannot create remote file 'New folder/testdrawiofile'.
No such file or directory.
Error code: 2
Error message from server: No such file.

SFTP - Cannot create remote file '/testing/testdrawiofile'.
No such file or directory.
Error code: 2
Error message from server: No such file.

SFTP (Using filezilla) - Works fine

Error Code: 2
This error represents an inability to access the file that it creates on the local machine or that it references on the local machine. It appears that Winscp is unable to access the local file.

A clearer error can be seen when trying to copy file into cache and then executing a paste.
Error changing directory to 'C\Users\...\documents\testdrawiofile'
Cannot get real path for '/testing/C:\Users\...\Documents\testdrawiofile'.
No such file or directory.
Error code: 2
Error message from server: No such file.

From the above message, one might assume that perhaps it doesn't have access to the file path, however if you notice, it is the user directory path which has full permissions. I also opened the application using "run as administrator" to see if this would fix it to no avail.

This appears to be a bug. However, as I could be wrong, if someone knows a work around please let me know.