Mr. Bond,
I’d like to suggest options that allows removal of FTP information from a project’s /sftp-config.json file.
A) If we set up ftp servers in ~/Library/Application Support/Sublime Text 3/Packages/User/sftp_servers/ then let us reference those files in sftp-config.json.
For example "server_file": "myServer File"
. That option being set would overwrite all options below with the contents of the referred file. We could erase everything else.
Then when ftp sync operations are performed there is no security issue since only the reference file name is in sftp-config.json.
B) Allow us to add the ftp information into the Project. In those I only see a "folders"
structure. Why not a "sftp-config"
structure as well? Then we don’t need the sftp-config.json at all (or just for legacy support).
I like this option better. It’s simpler and cleaner.
The security aspect has been discussed before. The issue I have which is not addressed is external FTP programs being used to sync up/down, diff operations, etc. If sftp-config.json is not on the server, the sync-down will delete the local copy. Having SFTP in ST3 is nice. But sometimes we have to use a more feature rich ftp client for heavy lifting.
Thank you in advance,
Jules