lukasz-wronski / vscode-ftp-sync

Ftp Sync plugin for Visual Studio Code
https://marketplace.visualstudio.com/items/lukasz-wronski.ftp-sync
321 stars 83 forks source link

Upload On Save & Secure = True: File gets deleted on remote path but not uploaded again #263

Open aripp opened 5 years ago

aripp commented 5 years ago

Config: { "remotePath": "./html/", "host": "host.domain.com", "username": "username", "password": "password", "port": 21, "secure": true, "protocol": "ftp", "uploadOnSave": true, "passive": false, "debug": false, "privateKeyPath": null, "passphrase": null, "ignore": [ "\.vscode", "\.git", "\.gitignore", "\.DS_Store" ] }

Problem: When ever I save a file, that already exists on the remote path, the file gets deleted on the remote path. but the new copy of the file gets not uploaded anymore. This used to work before (until summer 2018).

Error displayed: Ftp-sync: Uploading failed: Error: write EPIPE OR at first time after unistall / install plugin: Ftp-sync: Uploading failed: Error: Unable to build data connection: Operation not permitted

Is this maybe related to this? https://github.com/liximomo/vscode-sftp/issues/302 https://support.plesk.com/hc/en-us/articles/213376569-Backup-to-external-FTP-fails-on-Plesk-Transport-error-unable-to-list-directory-Curl-error-Transferred-a-partial-file