Topic "Windows Scheduled task and script"

Author Message
[View user's profile]

Joined: 2012-04-23
Posts: 1
Location: Leeds

I'm new to FTP and WinSCP.. i want to create a script which will update a remote site automatically at a certain time each day.

I've written a text file called example1.txt with the following:

option batch abort
option confirm off
open ftp://user:password@domain
option transfer binary
cd \remote folder\
put \local folder\

Then i've created a windows scheduled task which is currently set to run winscp.exe at 13:00 each day, where do i add the command for it to run the text file so that it automatically updates the remote folder?


ok i've figured out where to put the code but now i have a related issue.

This will be a very basic question to most but if i'm wanting to upload all files from my local folder to the remote folder what's the right code?
is this correct...
option transfer binary
cd \remote folder\
put \local folder\

or is it the other way round and 'put \remote folder' instead?

ignore that - a bit of research and i've sorted that issue out

You can post new topics in this forum

Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License