Solved

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

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

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Server 2003 x64 upgrade question 10 44
home folder path for users 4 57
shadow copies 7 69
Auto Login Script 3 12
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…
I've always wanted to allow a user to have a printer no matter where they login. The steps below will show you how to achieve just that. In this Article I'll show how to deploy printers automatically with group policy and then using security fil…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.
A company’s greatest vulnerability is their email. CEO fraud, ransomware and spear phishing attacks are the no1 threat to a company’s security. Cybercrime is responsible for the largest loss of money to companies today with losses projected to r…

914 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

18 Experts available now in Live!

Get 1:1 Help Now