Topic "Schedule task on Windows Server to upload files-please help?"

Author Message


Hey Everyone
I am stuck with a task to schedule the ftp upload of files from a directory on a server to a remote ftp site. The task has to upload files that are in the local folder and it has to only upload files that were created or modified on the same day that the task runs. I think if I start the task at 12:01am and then run it every 6 hours that I would be close, but when it runs at 6:01pm then it won't run until 12:01am, so how do I get the file from 6:01pm - 11:59pm on the day the task runs to upload? Should I change the schedule or just use a time flag? I'm lost with scripting and really could use some help.

Marie (now Miss FTP it seems) Very Happy
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24736
Location: Prague, Czechia
I'm not sure if I understand the problem. But this should help you:
Martin Prikryl

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