Search code examples
ftpdos

Loop through files in a FTP using MS DOS


Is there a way to loop through the files in an FTP from MS DOS.? Thanks.


Solution

  • The technique I'm using is to have two FTP scripts. One I use to capture the output of a DIR command. Having captured the DIR, I parse that for the names of files to be downloaded. Then I use the second script with information from the first to download the files.