vscode-ftp-sync icon indicating copy to clipboard operation
vscode-ftp-sync copied to clipboard

uploadOnSave not working on Windows

Open Karl48071 opened this issue 4 years ago • 2 comments

The uploadOnSave feature doesn't appear to be working even when set to true. ftp-sync 0.3.9 VS Code 1.47.3

{ "remotePath": "/mypath", "host": "myhost", "username": "myun", "password": "mypw", "port": 22, "secure": true, "protocol": "sftp", "uploadOnSave": true, "passive": false, "debug": true, "privateKeyPath": null, "passphrase": null, "agent": null, "allow": [], "ignore": [ "\.vscode", "\.git", "\.DS_Store" ], "generatedFiles": { "uploadOnSave": true, "extensionsToInclude": [".php",".html",".js",".css"], "path": "" } }

Karl48071 avatar Aug 02 '20 15:08 Karl48071

Me too. When I save a file of 'test.txt'. I can find an error: Ftp-sync: Uploading .test.txt.swp failed: Error: ENOENT: no such file or directory, open 'c:\.test.txt.swp'

fmjfei avatar Aug 07 '20 07:08 fmjfei

I found uninstalling and reinstalling fixed this for me.

Eamead avatar Aug 18 '20 18:08 Eamead