vscode-ftp-sync
vscode-ftp-sync copied to clipboard
uploadOnSave not working on Windows
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": "" } }
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'
I found uninstalling and reinstalling fixed this for me.