automate and schedule sending file to ftp server

Every day I have to manually  send a file to one ftp server. Is it possible to automate this process. protcol used for file trranser is SFTP. My computer is WindowsXP
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Lavi ShiffmanConsultant Commented:
The easiest way to achive this is to use a scheduled task using the AT command.

Here you can find the AT syntax which can be used to automate scheduled tasks.

All you have to do is construct that proper AT command and run it once on your machine.  From that point it will automatically according the parameters you defined.
dedriAuthor Commented:
I was looking for  working solution that anyone has already implemented
You could use the Robo-FTP script below to make a Windows Service that uploads the file every day at 9am:
PAUSE /until=09:00
FTPLOGON "" /user="UserID" /pw="secret" /servertype=SFTP /trust=all
SENDFILE "c:\source\daily_file.xml"
GOTO top

Open in new window

You'll need to change the connection credentials on the 3rd line and the file name on the 4th line.  If necessary you can change the upload time of day on the 2nd line.  I'd run the script once in the main console window once to make sure it works and then use the Service Installer program under the start menu program for Robo-FTP to make it run as a Windows Service.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
I use ncftpput wich is provided by and is very reliable and easy to use.

The only thing you have to do is to create a simple batch file and schedule it using windows task scheduler.

Read help file here:

Sample script line:

ncftpput -R  -u Username -p Password 'destination folder' 'source folder' -r 5

Open in new window

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Legacy OS

From novice to tech pro — start learning today.