Windows FTP batch sript to read & dl from external user list
- by Will Sims
i have several old, unused batches that i'm redoing.. I have a batch file for an old network
arch from several years ago..
the main thing I'd like it to do now is read a list of files.. I'll explain the setup..
Server updates a complete list [CurrentMediaStores.txt] 2x a day. The laptops can set settings to DL this list through their start.bat which also runs addins and updates I aply to my pc's, to give my batches and myself a break from slavish folder assignments and add a lil more dynamics and less adminin the bats now call on a list the user makes by simply copying a line from the CMS.txt file and pasting it into their [Grab_List.txt]
My problem is though I have the branch :: off right now and the code that detects if LAN is connected or not to switch to an ftp connection.
I'd like for the ftp batch to call/ use the Grab_List also. but I just can't/ don't know how to pass and do the for loop with a ftp session to loop through x amount of files in the users req list..
Anyhelp would be greatly appreciated