Link to home
Start Free TrialLog in
Avatar of rvfowler2
rvfowler2Flag for United States of America

asked on

Upload/FTP Batch File - Modified Only

We have a batch file scheduled to run daily, which uploads several files to our web server. Recently, weve had a request for a much higher volume of files to be added to the upload list, thus, I would like to be able to upload only files that were modified since the last run.

Here are the contents of the batch file:

%windir%\system32\ftp.exe -s:sendRcv.txt
@echo off
cls
exit
 
Here are the contents of sendRcv.txt:

open ftp.xxx.com
username
password
cd public_html
binary
hash
lcd d:\PHA\fmExports
put whatever
bye
ASKER CERTIFIED SOLUTION
Avatar of Shift-3
Shift-3
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of rvfowler2

ASKER

Lookis promising.  Will try it on Monday.
Still working on it.  Our server went down yesterday.
Worked fairly well on Friday, just working out a couple of kinks.  If we can't solve it, we will ask a follow up question on Monday.
Worked 99% and we worked out all the rest of the adjustments except having problems making the script create a log file.  Awarding the points anyway.