Multiple Folders or Commands
- Last Updated: January 29, 2024
- 1 minute read
- WS_FTP Pro
- Version 12.9
Multiple Folders or Commands
To transfer files to or from multiple source or destination folders or to issue multiple commands, use the -m argument followed by the name of a text file that contains the commands. To transfer files from several locations on the hard disk described in the first example in this chapter, enter (at the command prompt or in a batch file) something like:
wsftppro -m xferall.txtwhere the content of xferall.txt (as viewed in Windows Notepad) is:

Note that:
- The command name wsftppro must not appear in the text file
- Each line of text must contain only one command line.
- Each command line can contain any of the arguments described in this chapter.
- If a file or folder name has a space in it, you must enclose that entire argument in quotes.