Note that the documentation covers new features and changes in beta releases 4.2 through 4.2.4 already.
Contents » Using WinSCP » Guides »

Schedule file transfers (or synchronization) to FTP/SFTP server

Table of Contents

This guide contains simplified description of scheduling operations on FTP/SFTP server with WinSCP.

To schedule an operation on FTP/SFTP server you can combine scripting/automation functionality of WinSCP with Windows scheduling capability.

Before starting you should:

Scheduling

To add new scheduled task:

  • On Windows XP/2000 go to Windows Start Menu > Settings > Control Panel > Scheduled Tasks > Add Scheduled Task. On Windows Vista go to Windows Start Menu > Control Panel > System and Maintenance > Administrative Tools > Task Scheduler.
  • Browse for WinSCP.exe executable, and setup other task properties (like period of execution).
  • In advanced properties add appropriate WinSCP command-line parameters to execute the scripting commands you need (typically you will use /script or /command parameters).
    The resulting command may look like:
    “C:\Program Files\WinSCP\WinSCP.exe” /command “open user:password@example.com” “put d:\examplefile.txt /home/user/” “exit”
    Note that the command-line parameter /console was not specified, what makes WinSCP.exe not show the console window, not to disturb you while you are using your workstation.
  • You may want to use /log parameter to turn on logging to file.

Further Reading

 
  guide_schedule.txt · Last modified: 28 Apr 2009 by prikryl
 

Search

This page

Donate

Donate via PayPal

Associations

Site design by Black Gate