Differences

This shows you the differences between the selected revisions of the page.

2011-10-25 2011-10-25
scripting#example (martin) no summary (Petr)
Line 1: Line 1:
====== Automate file transfers (or synchronization) to FTP server or SFTP server ====== ====== Automate file transfers (or synchronization) to FTP server or SFTP server ======
 +
 +~~AD~~
 +
//This guide contains simplified description of automating operations on FTP/SFTP server with WinSCP. You may want to see [[scripting|detailed documentation]] of the scripting functionality instead//. //This guide contains simplified description of automating operations on FTP/SFTP server with WinSCP. You may want to see [[scripting|detailed documentation]] of the scripting functionality instead//.
Line 14: Line 17:
  * Perform operation. For [[task_upload|uploads]] use ''[[scriptcommand_put|put]]'' command. For [[task_download|downloads]] use ''[[scriptcommand_get|get]]'' command. For [[task_synchronize_full|synchronization]] use ''[[scriptcommand_synchronize|synchronize]]'' command. For other operations, see [[scripting#commands|supported commands]].   * Perform operation. For [[task_upload|uploads]] use ''[[scriptcommand_put|put]]'' command. For [[task_download|downloads]] use ''[[scriptcommand_get|get]]'' command. For [[task_synchronize_full|synchronization]] use ''[[scriptcommand_synchronize|synchronize]]'' command. For other operations, see [[scripting#commands|supported commands]].
  * Exit scripting using ''[[scriptcommand_exit|exit]]'' command.   * Exit scripting using ''[[scriptcommand_exit|exit]]'' command.
 +
 +~~AD~~
===== Script file ===== ===== Script file =====
Line 31: Line 36:
    * In a similar way you can put the shortcut to the batch file into Explorer’s ‘Send To’ context menu (''c:\documents and settings\username\sendto'').     * In a similar way you can put the shortcut to the batch file into Explorer’s ‘Send To’ context menu (''c:\documents and settings\username\sendto'').
  * [[guide_schedule|Schedule automatic execution]].   * [[guide_schedule|Schedule automatic execution]].
 +
 +~~AD~~
===== Notes ===== ===== Notes =====

Last modified: by Petr