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

ftp sync uploadOnSave

Open HeadStudios opened this issue 2 years ago • 8 comments

Just started using the extension.. it's awesome! It has great potential to save me from manually dragging to my Siteground account but... I have changed the flag uploadOnSave to true - however after saving a file it doesn't reflect on the remote server.

If I right click and select 'Ftp-sync: Upload File' it works... but I assumed it would trigger automatically when I save... do I have to do anything after updating that flag?

Thank yoU!

HeadStudios avatar Jun 05 '22 12:06 HeadStudios

same here

Hagbard235 avatar Jul 19 '22 12:07 Hagbard235

same here

djmarcosban avatar Sep 30 '22 17:09 djmarcosban

Same here. However, it is due to this Vim extension I use. Disabling and enabling the Vim extension again resolves the issue somehow. At least for me.

lucashabersaat avatar Oct 29 '22 10:10 lucashabersaat

Same here, and I don't have the VIM extension.

davidsturman avatar Nov 19 '22 22:11 davidsturman

Same issue

naurissteins avatar Nov 24 '22 11:11 naurissteins

My sync stop to work after some syncs

alexandreJazara avatar Jan 19 '23 00:01 alexandreJazara

I discovered some more, if use automatic save and uploadOnSave is true, the connection auto upload stay freezy. I tried enable debug to true, but only showed of the message: 18/1/2023 @ 22:7:26 > [sync-helper] uploading: verificador-interno.php 18/1/2023 @ 22:7:26 > [sync-helper] connect

In footer bar, show the message Ftp-sync: Uploading archive_name to FTP server... Ftp-sync: Uploading archive_name to FTP uploadsucessefuly

and return to Ftp-sync: Uploading archive_name to FTP server...

When freezy, changed only archive name but don't upload more the arquive.

Are there a local to list complete status of the connections?

alexandreJazara avatar Jan 19 '23 01:01 alexandreJazara

I'm experiencing the same issue, I don't have the solution but what I find useful is that I have added a shortcut key to 'Ftp-sync: Sync current file to Remote'. I now use 'CTRL+S' to save the file and 'CTRL+S chord to CTRL-A' to upload it to the FTP server. Works great!

If you press 'CTRL+Shift+P' and look up the 'Ftp-sync: Sync current file to Remote' command you can click on the gear icon next to it to add a key binding. image

dwichers avatar Sep 13 '24 21:09 dwichers