Public Function SaveEx( _ ByVal FSysFilter As String, _ ByVal synchronize As Boolean, _ ByRef pVal As List _ ) As Boolean
- A file system filter.
- If True, the operation is synchronous.
The error that occurred was non-fatal (True or False). This value is meaningful only for synchronous transfers.
If the filter is an empty string, all files with all subdirectories are uploaded to the server.
If a phrase in the filter begins with "-r", it is applied recursively to all sub-directories. If a phrase in the filter begins with -x, it indications exclusion.
For example, the filter "Austen.txt, -r Novels\*.* -x Emma.txt" returns the file Austen.txt and all files and folders under the Novels directory except Emma.txt.
If the operation is synchronous, the process begins and is not checked for status until the process is completed. If the operation is asynchronous, the function immediately begins the upload and continuously checks if the transfer is finished. Check the ActionFinished Property periodically, and use the GetLastError Method to see if the operation succeeded.
Only one asynchronous operation using ExtendedStorage can run at one time. If you start an asynchronous operation using ExtendedStorage, do not start another until ActionFinished returns a non-zero value.