rvfowler2
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
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Still working on it. Our server went down yesterday.
ASKER
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.
ASKER
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.
ASKER