User Tools

Site Tools


guides:patterns:winscp2

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
guides:patterns:winscp2 [2020/08/14 20:44] – created wikiadminguides:patterns:winscp2 [2022/08/02 11:59] (current) – external edit 127.0.0.1
Line 1: Line 1:
-====== Headline ======+====== Using WinSCP Synchronize a Directory on a Remote Machine ====== 
 + 
 +You can configure WinSCP to monitor a directory on the local machine and keep this synchronized with a directory on a remote machine.  This allows  you to edit and use other tools locally, and the changes will be reflected remotely.
  
 ====== Overview ====== ====== Overview ======
   - Create a directory on the local system where you will work.   - Create a directory on the local system where you will work.
   - Create a directory on the remote system that you wish to keep synchronized with the local directory   - Create a directory on the remote system that you wish to keep synchronized with the local directory
-  - Open WinSCP +  - Open WinSCP and start synchronizing folders 
 +  - Edit on the local machine using the editor of your choice. 
 +  - Compile on the remote machine using putty 
 +{{ :guides:patterns:winscp2setup.png?nolink|}}
 ===== Discussion ===== ===== Discussion =====
 +
 +==== Configure Synchronization ====
 +
 +   - In the WinSCP window, select ** Commands ** then ** Keep Remote Directory up to Date ... ** {{:guides:patterns:winscp2step1.png?nolink|}}
 +   - Select the local and remote directories to keep in synch. {{:guides:patterns:winscp2step2.png?nolink|}}
 +   - Select ** Start ** 
 +     - You may be asked if you want to perform full synchronization first.  Select ** Yes ** in most cases. {{:guides:patterns:winscp2step3.png?nolink|}}
 +      Winscp should copy the files from the local directory to the remote directory
 +   - Edit local files, WinSCP will transfer these when it notices a change. {{:guides:patterns:winscp2change.png?nolink|}}
 +   - Use the putty terminal to compile and execute 
 +   - When you are finished, select // Stop // in the // Keeping remote .. // window. 
 ==== References ==== ==== References ====
 [[https://winscp.net/eng/docs/task_keep_up_to_date|WinSCP Documentation]] [[https://winscp.net/eng/docs/task_keep_up_to_date|WinSCP Documentation]]
guides/patterns/winscp2.1597437881.txt.gz · Last modified: 2022/08/02 11:59 (external edit)