SP_UploadDir
Uploads the file into the specified folder.
Syntax
bool SP_UploadDir(StrParam)
Parameters
Two comma separated parameters:- The Windows folder containing only document files to upload.
- A Boolean. True means delete file after upload, false means move file to the Uploaded folder in current directory.
Returns
True if the upload succeeds for all files in the directory. Otherwise, False.Level
Batch or Document level.Details
Uploads all files in specified folder.- Example
SP_UploadDIR("C:\ParentDir\Invoice\Images\Input\,false")