addDirectoryRecursive Method

 Object: UploadClient
 Syntax: boolean addDirectoryRecursive(String dirname)
 Returns: Boolean
 Description: addDirectoryRecursive adds a specified directory, and its subdirectories, to the list of files and folders to upload, maintaining the original directory structure. addDirectoryRecursive returns True if the files were successfully added, or False if there was an error adding the files. addDirectoryRecursive takes the parameter dirname, the name of the directory to add to the upload.

When uploading a directory using AddDirectoryRecursive, use Softartisans FileUp's SaveRecursive method in your response script, as in the following example.
Set upl = Server.CreateObject("SoftArtisans.FileUp")
upl.Path = "C:\Temp"
upl.SaveRecursive()

 

Previous Page Next Page