Link to home
Start Free TrialLog in
Avatar of Expert Exchange
Expert ExchangeFlag for United States of America

asked on

How to Write and Automate an FTP Script to send or upload New Files only?

I am have Windows 2003 and I need to write a script or BAT file (something simple, if possible) to connect to a remote server and send or upload the new files only, based on a time stamp or a file name..

How can this batch process of FTP check the timestamp or the file name?

Shall I just add it the Scheduler to automate it?


Let me know if there are ready made software on the internet that can do this on Windows 2003

Thanks,
Shamsan
Avatar of glennbrown2
glennbrown2

This is a great tool to help with this:

http://www.scriptftp.com/

i use this one, but you may be able to write your own using the windows ftp...

Avatar of Expert Exchange

ASKER

Glen Brown2;
Thanks, it sounds great to have such a tool, specially they have the option of "Customized" versions.  Big Thanks.

I am wondering can you set it up to Upload the newely created files based File Name rather than Time Stamp?
at the same time is it able to check for the Time Stamp to upload only newely created files?


Big Thanks
ASKER CERTIFIED SOLUTION
Avatar of glennbrown2
glennbrown2

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Glen Brown2;

THANKS, I will.


Regards
I would like to add the following information for all from my experience,

I have tried SFtp (Secure FTP Automation tool) from http://www.hiteksoftware.com/  and after a couple of tests I bought the software becasue it has most if not all the features of FTP & Secured FTP scripts that you need to have in a single software and most beautiful feature is -> it is a multi-platform software..

Thanks,
mshamsan