Solved

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

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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

So you have two Windows Servers and you have a directory/folder/files on one that you'd like to mirror to the other?  You don't really want to deal with DFS or a 3rd party solution like Doubletake. You can use Robocopy from the Windows Server 200…
The HP utility "HP Lights-Out Online Configuration Utility for Windows Server 2003/2008" could be of great use when it comes to remotely configure a HP servers ILO WITHOUT rebooting the server. We would only need to create and run scripts using thi…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

631 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