Auto save project files with FTP server when saving a file.
Only the saved file will be send.
Settings can be put en global settings, but user settings.json file inside the .vscode folder is better.
ftpfilesync.enabled
: Enable or disable ftpFileSync for this workspace. Workspace need to be reloaded to take effect.ftpfilesync.host
: Ftp hostftpfilesync.user
: Ftp userftpfilesync.password
: Ftp passwordftpfilesync.port
: Ftp portftpfilesync.rootPath
: Path to the root of the project, from the FTP root folder without trailing slash (exemple : "www/site")ftpfilesync.ignorePath
: Array of paths to ignore (use Regex) (exemple : ["my/ignored/folder", "my/ignored/file.txt"])
For some reason, ftp.put need to be called twice or it could ignore the put command. So file can be send 2 time in a row.
No unit test. I'm bored and maybe I will do them later.