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