ReturnCloudFilesSince
Structure
ReturnCloudFilesSince(sService, sFolder: String; dtDateTime: TDateTime; bAllowAuth: Boolean): String
Type
Function
Description
This function returns a text listing of the files in the sFolder from the Cloud service specified by sService that have a CreationDate on or after the dtDateTime parameter. The file listing will be delimited by the '|' symbol. Upon execution, if no token exists for the cloud service AND the bAuth parameter is True then the service's login screen will be shown in a browser window. This token will be remembered for future sessions.
Parameters: 4
sService = the name of the online cloud service. Acceptable values are: 'BOX' (box.com) and 'DROPBOX' (dropbox.com)
sFolder = Optional folder. This folder must be only one-level deep, directly underneath the root directory. If this parameter is empty then a listing of files in the root directory will be given.
dtDateTime = files will be returned if their Creation Date is on or after this date/time.
bAllowAuth = If previous tokens saved to the database are not found and/or do not allow access to the online service, this parameter determines if a browser window should be shown to allow for credentials to be entered. If this script is intended to be run in an automated/unattended setup, then this parameter should be set to False.
Return Value
Text |