|
Answer» I wrote a UNIX SHELL SCRIPT to push text data files from UNIX server to the windows batch server. I have learned that I have to write the script on the windows batch server and pull the files down.
My UNIX script reads the files in the directory, creates an INVENTORY file containing the file names in the source directory, then passes the file names from the from the inventory file to the ftp script to push the files to windows server, then goes back and cleans up the source directory based on the inventory file.
I need a windows script to do the same.
I am a UNIX person with LITTLE windows experience.
Note, new files are written to the UNIX source directory every two minutes, for that reason I created the inventory file. The new files are coming in before the ftp session is completed. I want to make sure I don’t push the same file twice or remove the WRONG file.
Any suggestions?
|