Solved

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

Posted on 2006-07-15
5
359 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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
PXE question 7 76
Dentrix G4 1 30
ADMT Intra Forest migration questions 7 68
What is this Task? 4 34
Setting up a Microsoft WSUS update system is free relatively speaking if you have hard disk space and processor capacity.   However, WSUS can be a blessing and a curse. For example, there is nothing worse than approving updates and they just haveā€¦
Learn about cloud computing and its benefits for small business owners.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

707 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now