ShowOpenFileDialogAndImportToFileServerFromLocal method (WinStudio scripts)

Applies to

Document (file) operations

Description

Imports a file from the local drive to the file server.

Syntax

ShowOpenFileDialogAndImportToFileSeverFromLocal( string caption, string filter, string fileSpec, string servername, string logicalFolderName, out string errorMessage )

where:

  • caption is the caption assigned to the file to be imported.
  • filter is the filter used to locate the file to import.
  • fileSpec is the name of the file to import.
  • servername is the file server to which the requested file is to be imported.
  • logicalFolderName is the name of the logical folder on the file server where the file is to be imported.
  • errorMessage is the error message to be returned if the file cannot be imported successfully.