timburgess / brackets-ftp-sync

FTP/SFTP for Adobe Brackets
105 stars 19 forks source link

Overwriting a file doesn't ask for confirmation #19

Closed ghost closed 10 years ago

ghost commented 10 years ago

I just overwrote a file and the plugin didn't ask me for a confirmation, which shouldn't be the case, IMO.

Parcye commented 10 years ago

Well something is in the name 'ftp-sync' it is not a upload to FTP but sync FTP with local workspace plugin. I would not want to be asked ever to overwrite when I say to sync local - FTP

ghost commented 10 years ago

yeap, you're right :+1: about that, would I have to download my files first and then sync them, right?

Parcye commented 10 years ago

I would suggest to have a 100% working copy of the site on a local envoiroment, use brackets to work on the project and use FTP sync to sync changes to online.

To be honest, it meant a big change in method of working for me, but after a few weeks I don't want to go back. My DS213 is now my local testing machine and I have a online staging area that I sync with before projects go live.

timburgess commented 10 years ago

As @Parcye stated, FTP-Sync expects a typical development scenario, which is a local development environment and pushing updates to a staging/production server. For this reason, there is no overwrite confirmation - it would be inefficient for how most people work. If you have a different way of working, feel free to create an issue as an enhancement request but I have no intention of confirmation for each and every file change - at least for this extension.