FNP8_UploadDir
Uploads all of the images in the folder to the specified destination folder.
Syntax
bool FNP8_UploadDir(StrParam)
Parameters
Two comma-separated String values:- The full path of the source folder that contains the images to be uploaded. For example: C:\images.
- A Boolean value to indicate whether images must be deleted from the source folder. False: images will not be deleted from the source folder after they are uploaded. True: images will be deleted from the source folder after they are uploaded.
Returns
False, if the upload is not successful. Otherwise, True.Attention: If the action returns False,
the action directs the Rulerunner task
to finish with a status of Aborted.
Level
Batch or Document level.Details
Uploads all images in the folder you enter as the first parameter to the specified destination folder.This action is an alternative to FNP8_Upload if you want to upload images that are not within a Datacap batch.
- Example
FNP8_UploadDir("C:\images,False")This example leaves the images in the source folder after they are uploaded.
FNP8_UploadDir("C:\images,True")This example deletes the images in the source folder after they are uploaded.