Windows FTP batch sript to read & dl from external user list

Posted by Will Sims on Stack Overflow See other posts from Stack Overflow or by Will Sims
Published on 2010-06-01T08:33:02Z Indexed on 2010/06/01 8:33 UTC
Read the original article Hit count: 301

Filed under:
|
|

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

© Stack Overflow or respective owner

Related posts about Windows

Related posts about ftp