lukasz-wronski / vscode-ftp-sync

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

uploading files on save (config uploadOnSave: false) #298

Open g-rodigy opened 5 years ago

g-rodigy commented 5 years ago

download files and not matter what is in the config uploadOnSave is false,

"generatedFiles" "uploadOnSave": false

webdevbrian commented 5 years ago

I had the same issue, you just have to restart vscode, it started working for me then

falinhares commented 5 years ago

Got the same problem and did not solve by restarting vscode.

Jc3web commented 5 years ago

I'm experiencing the same issue and restarting the app has had no effect...

StefanoV1989 commented 5 years ago

Same problem. It uploads/sync file on save even if it's false. I work with git, so I don't want that my branch develop will go on my ftp. It has to sync only when I call the function (and I will do only when I'm in master)

eshenxd commented 4 years ago

Same problem. no effect when restart vscode, wish to fix it

davedawkins commented 4 years ago

Also having this problem.

"uploadOnSave": false

ftp-sync is still uploading files on save though.

susliandia commented 4 years ago

The same for me. Reinstalling addon and restarting vscode has no result.

susliandia commented 4 years ago

delete C:\Users\User.vscode\extensions\lukasz-wronski.ftp-sync-0.3.9\modules\on-save.js restart VSCode

teledemic commented 4 years ago

Got this behavior too - potentially a serious security problem

g-rodigy commented 4 years ago

@susliandia

delete C:\Users\User.vscode\extensions\lukasz-wronski.ftp-sync-0.3.9\modules\on-save.js restart VSCode

So hard

falinhares commented 4 years ago

On MacOs go to terminal and do: ls ~/.vscode/extensions I renamed the file and reloaded VS Code and it stopped sending after save.

Jc3web commented 4 years ago

I get this:

image

falinhares commented 4 years ago

Try change User.vscode with the name of your user on this Windows

Jc3web commented 4 years ago

It's there, thank you very much....

XagguHr commented 4 years ago

Just installed vscode and this extension and immediately ran into the same problem, uploadOnSave parameter does not work. solution: Add a check for the "uploadOnSave" parameter in the "on-generate.js" file file path: C:\Users\YourUser.vscode\extensions\lukasz-wronski.ftp-sync-0.3.9\modules\on-generate.js 2019-10-26_15-06-29 Restart vscode.

susliandia commented 4 years ago

Thank you! if(!config.uploadOnSave) return; It solved this problem.

MihaelBercic commented 4 years ago

Just installed vscode and this extension and immediately ran into the same problem, uploadOnSave parameter does not work. solution: Add a check for the "uploadOnSave" parameter in the "on-generate.js" file file path: C:\Users\YourUser.vscode\extensions\lukasz-wronski.ftp-sync-0.3.9\modules\on-generate.js 2019-10-26_15-06-29 Restart vscode.

Thank you! That solved the issue.

karlvonbonin commented 4 years ago

Thanks alot - worked for me aswell!

hldjlz commented 4 years ago

果然在on-generate.js添加那句就解决了。Thank you! It solved the problem