Xcopy OR ws_ftp script - merge FTP server's contents into single directory
Posted on 2003-10-21
I have an FTP site with files in lots of different folders.
I need to do on eof the following:
1. Copy all files and folders from FTP server to local machine using FTP client, but all files must go in one directory on local machine:
should be saved on the local machine all in one folder such as D:\ (not split in \foo, \bar as they were on the server).
This should/could be done using a WS-FTP or Robo FTP (or any other client) Script.
-- OR --
2. I will copy the exact structure from the FTP sevrer to the local machine. I then need a batch file (xcopy based?) that will merge the contents of all the sub dirs into one folder:
should all be copied into D:\.
In both cases, if possible, file name conflicts should be resolved.