ShowSaveFileDialogAndExportFromFileServerToLocal method (WinStudio scripts)

Applies to

Document (file) operations

Description

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

Syntax

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

where:

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