How to synchronize a local folder automatically to a (s)ftp server?

1 answer

If your are developing web applications, you my use an editor like visual studio code. How can you upload changes you made in your local files automatically to a webserver using (s)ftp?
Download and install WinSCP. Log in using your credentials. Browse on the left file browser to your local folder where your webapp is stored. Browse on the right file browser to the folder on your webserver where the same webapp is stored on the server. Click on the menu bar on “Commands” -> “Keep remote Directory up to Date…”, select your options and press start. Now you can change any files in the local folder and all changes will be synchronized automatically to the webserver.

Taggings: