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

uploading files on save (config uploadOnSave: false)

Open g-rodigy opened this issue 5 years ago • 19 comments

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

"generatedFiles" "uploadOnSave": false

g-rodigy avatar Jul 15 '19 15:07 g-rodigy

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

webdevbrian avatar Jul 16 '19 14:07 webdevbrian

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

falinhares avatar Aug 20 '19 18:08 falinhares

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

Jc3web avatar Aug 26 '19 00:08 Jc3web

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)

StefanoV1989 avatar Sep 02 '19 12:09 StefanoV1989

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

eshenxd avatar Sep 17 '19 10:09 eshenxd

Also having this problem.

"uploadOnSave": false

ftp-sync is still uploading files on save though.

davedawkins avatar Sep 18 '19 20:09 davedawkins

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

susliandia avatar Oct 06 '19 07:10 susliandia

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

susliandia avatar Oct 06 '19 08:10 susliandia

Got this behavior too - potentially a serious security problem

teledemic avatar Oct 22 '19 14:10 teledemic

@susliandia

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

So hard

g-rodigy avatar Oct 22 '19 21:10 g-rodigy

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

falinhares avatar Oct 23 '19 14:10 falinhares

I get this:

image

Jc3web avatar Oct 23 '19 14:10 Jc3web

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

falinhares avatar Oct 23 '19 14:10 falinhares

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

Jc3web avatar Oct 23 '19 15:10 Jc3web

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.

XagguHr avatar Oct 26 '19 12:10 XagguHr

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

susliandia avatar Oct 26 '19 12:10 susliandia

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.

MihaelBercic avatar Nov 05 '19 21:11 MihaelBercic

Thanks alot - worked for me aswell!

karlvonbonin avatar Nov 16 '19 00:11 karlvonbonin

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

hldjlz avatar Dec 03 '19 02:12 hldjlz