vscode-ftp-sync
vscode-ftp-sync copied to clipboard
Ftp-sync sync error: Error: No such file
I really have no clue what's wrong here. Using protocol sftp...
I looked at the output windows and find that there are a dozen, maybe one for each time I tried something? In the windows I see "[sync-helper] listRemoteFiles" so maybe the remote list is failing.
I tried using the wrong username and got a different message so I assume it's able to log in.
I have confirmed the user and password using a separate sftp tool.
So I see two possible bugs here.
The error message should be more specific, what file is it not finding?
The output windows should not stack up.
I have no idea how to proceed at this point.
I am getting the exact same error and the same results in the output window. The path I specified for remotePath does indeed exist on the server. Has there been an update on this?
Thanks!
The lack of console logs for this gave me cancer.
If anyone is still having trouble with this, it is likely a permissions error on the server. Try changing the permissions to writable.
After I change permission in my server, this problem is same. There is Anyone solved this problem?
I have the same issue. Works fine in CyberDuck with seemingly the same config. What's up here?
Sometimes the error pop-up appears and sometimes it doesn't. Never uploads.
my solution is to add "/" at the end of the RemotePath, and it started working
hi,I met the same problem
remotePath is './' and '/' but it not work,
I believe my config is true, and then i change permissions in server ,but still not work,why?? QAQ
please help me
sorry,i found my mistake my path is not the same as the server's path if your permissions and other config is true,double check your path maybe upload directory name not the same as the server's directory name
I run the pwd command on raspberry to know exactly the path to my folder and then I realize that the path starts with "/home" instead of "./home". It is the answer for the Error:No such file
Please close issue, it is only due to bad path naming. Check if you are directing from root with "remotePath": '/'
instead of "remotePath": './'
. Adding slash in the end may help too.
I also have had this issue. The only fix for my problem was to completely delete everything on the remote project, and do a clean full sync and it worked after that. I have no idea why it worked, but all I know is it had nothing to do with my config file.
This issue appeared for me after I had mistakenly created a file called "js" when I meant to create a directory called "js". After fixing this issue locally, the file to directory change wouldn't write to the server, and I saw this error for all changes saved to files within the "js" directory.