Save Method
Description
Uploads the storage structure to the server.
Syntax
Visual Basic
Public Sub Save( _
   Optional ByVal FSysFilter As String = "*.*", _
   Optional ByVal synchronize As Boolean = False _
) 
Parameters
FSysFilter
A file system filter.
synchronize
If True, the operation is synchronous.
Remarks

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.

See Also