Solved

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

Posted on 2006-07-15
5
364 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Comparison of Amazon Drive, Google Drive, OneDrive

What is Best for Backup: Amazon Drive, Google Drive or MS OneDrive? In this free whitepaper we look at their performance, pricing, and platform availability to help you decide which cloud drive is right for your situation. Download and read the results of our testing for free!

Question has a verified solution.

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

I guess it is not common knowledge to most Wintel engineers/administrators: If you have an SNMP-based monitoring system in your environment (and it's common to have SNMP or Syslog) it's reasonably easy to enable monitoring of the Windows Event logs,…
This may not be a text book method to resolve VSS backup issues but it seemed to have worked on few of the Windows 2003 servers we had issues while performing a Volume Shadow Copy backup. If you have issues while performing a shadow copy backup usin…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

734 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