Description | The DownloadDir function will download a complete directory of files from an FTP server to your computer. If the “Recursive” parameter is set to True, it will also download all subdirectories. The “Wildcard” parameter allows you to only download certain files. (For instance, you could download all HTML files in a directory by specifying “*.htm*”.)
|
---|
Optional Parameters | - RemoteDir
The Remote Directory to Download. (Can be a Full Path, a Relative Path, or a Directory Name in the Current Remote Directory; Default is the Current Remote Directory.)
- Recursive
If True, this function will also download all subdirectories of the Remote Directory. (Default is False.)
- Wildcard
Defines a File Name Pattern to match when looking for Files to Download. (eg. “*.txt” would download all files with a “txt” file extension; Default is to download all files.)
- CompletedScript
The Name of a Script to call when the Download is Completed. (If blank, this function will wait until the Download is Complete before returning; Default is blank.)
- UseASCIIMode
If True, this function will Download the files using ASCII Mode instead of Binary Mode. (Default is False.)
- CSParameter
The parameter to send to the completed script.
|
---|