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

Advertisement

piedmont_75
Joined:
Posts:
1
Location:
Georgia

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.

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,454
Location:
Prague, Czechia

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.

Reply with quote

User#001
Joined:
Posts:
2

WinSCP Error Code: 2 No such file or directory. Error message from server.

Hello All,
Can't transfer files over SFTP to server.
I got the following error message:
No such file or directory.
Error code: 2
Error message from server: No such file
What can be done to get read of this error
Thanks in advance!

Reply with quote

martin
Site Admin
martin avatar

Re: WinSCP Error Code: 2 No such file or directory. Error message from server.

@User#001: It looks like /incoming/arp is not valid path. If home path has format /C:/Users/InfoTech, then it is unlikely, there's path /incoming/arp.

Maybe it would be /C:/Users/InfoTech/incoming/arp.

Reply with quote

Advertisement

You can post new topics in this forum