SP_UploadDir

Uploads the file into the specified folder.

Syntax

bool SP_UploadDir(StrParam)

Parameters

Two comma separated parameters:
  1. The Windows folder containing only document files to upload.
  2. A Boolean. True means delete file after upload, false means move file to the Uploaded folder in current directory.
Smart parameters are supported.

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")