Solved

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

Posted on 2006-07-15
5
362 Views
Last Modified: 2010-04-18
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
0
Comment
Question by:mshamsan
  • 3
  • 2
5 Comments
 
LVL 6

Expert Comment

by:glennbrown2
ID: 17117202
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...

0
 

Author Comment

by:mshamsan
ID: 17119684
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
0
 
LVL 6

Accepted Solution

by:
glennbrown2 earned 500 total points
ID: 17119986
it can check for the timestamp but i haven't tried using it for a specified filename....however, reading through the help file it would seem like you can.  It supports wildcards for filenames so you can either specify the filename or use the wildcard to filter.....

straight from the help file :-)  ------> "ScriptFTP is able to syncronize a remote directory from a local folder or viceversa"

download the 30 day eval and test it out...it's fully functional
0
 

Author Comment

by:mshamsan
ID: 17119993
Glen Brown2;

THANKS, I will.


Regards
0
 

Author Comment

by:mshamsan
ID: 17149223
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
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Numerous times I have been asked this questions that what is it that makes my machine log on so slow, there have been cases where computers took 23 minute exactly after taking password and getting to the desktop. Interesting thing was the fact th…
Scenerio: You have a server running Server 2003 and have applied a retail pack of Terminal Server Licenses.  You want to change servers or your server has crashed and you need to reapply the Terminal Server Licenses. When you enter the 16-digit lic…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question