Hi there
I want to create a batch file which Get (mget) the newly added Files only from specific directory on UNIX server to specific folder on windows server using FTP, and this batch file will be scheduled on the windows server to run daily to load the new files (load the newly added files from the unix directory to the windows folder).
Urgent help plz
I have reached the following
1- The following is the batch file it contains the following:
ftp -n -s:ftp_import.txt 10.32.253.73
exit
2- The following is the text file which has the name "ftp_import.txt". it contains the following:
user <unix username>
<unix password>
lcd D:\(The path of source, where to get the files from unix server)
cd /home/The path of destination, where to put the files to windows server)
prompt
mget *.CSV
bye
Everything is running well
But still I want to modify this batch to get only the newly added CSV files, not all the files (*.CSV). this is now my only problem.