Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to upload new folder, but works well on files in existing folders #180

Closed
ThomasPof opened this issue May 26, 2017 · 7 comments
Closed

Comments

@ThomasPof
Copy link

ThomasPof commented May 26, 2017

I'm using VScode Version 1.12.2 (1.12.2) and FTP-sync 0.3.3

When I try to upload a file which is inside an existing folder (remotly and locally), it works pretty well. But when I try to upload a new local folder (with right click -> Ftp-sync Upload), I've got this message

Ftp-sync: Uploading test3 failed: Error: Transfer aborted. Interrupted system call

Same thing when I try to upload a file inside a folder which exist only locally. It works well if I create the folder remotly before the upload.

@ThomasPof ThomasPof changed the title Unable to upload folder, but works well on files Unable to upload new folder, but works well on files in existing folders May 26, 2017
@clayms
Copy link

clayms commented Apr 14, 2018

I am having the same problem.

Windows 10 Enterprise
VScode 1.22.1
ftp-sync 0.3.3

Files sync just fine, folders fail with the error message Ftp-sync: Uploading Modeling failed: Error: Failure .

This happens when I select a folder, press ctrl+shift+p and then run the command Ftp-sync: Local to Remote or when I right click the folder and select Ftp-sync: Upload File/Folder.

@clayms
Copy link

clayms commented Apr 14, 2018

It appears to be only when there are sub-directories. There does not seem to be a problem when syncing a directory that has no sub-directories.

Could it is a recursive flag -r is not getting set?

@clayms
Copy link

clayms commented Apr 14, 2018

Some other strange things are happening. When I tried to sync a folder that had no sub-directories, it apparently did so with no problem the first time, then is gave similar errors every time after that. When I went to the remote computer and tried to cd into the folder and Linux told me that the file was not a directory. When I cat the "file" it is blank.

@NajSurf
Copy link
Collaborator

NajSurf commented Dec 5, 2018

fixed in #269

@NajSurf NajSurf closed this as completed Dec 7, 2018
@isymbo
Copy link

isymbo commented Jan 23, 2019

still hit this issue with vscode 1.30.2 and FTP-sync 0.3.9

@nicschwartz
Copy link

I have this issue still as well.
So, I end up having to login to the control panel on the host (ICDSoft) and delete the file that should be a directory. Then I have to create the directory and sync works fine.

I'm running the following:
ftp-sync: 0.3.9

Version: 1.39.2
Commit: 6ab598523be7a800d7f3eb4d92d7ab9a66069390
Date: 2019-10-15T15:33:00.827Z
Electron: 4.2.10
Chrome: 69.0.3497.128
Node.js: 10.11.0
V8: 6.9.427.31-electron.0
OS: Darwin x64 18.7.0

@rodneymelchers
Copy link

hey guys, i had this issue aswel. What fixed it was this:

I changed the Owner of the folder to the same as the owner of the FTP acc

so went in by ssh and

chown username folderpath -R

everything worked fine after that
hope this helps

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants