DeleteFileFromServer method (WinStudio scripts)

Applies to

Document (file) operations

Description

Deletes a file from a file server.

Syntax

DeleteFromFileSever( string fileSpec, string servername, string logicalFolderName, out string errorMessage )

where:

  • fileSpec is the name of the file to delete.
  • servername is the file server on which the file is located.
  • logicalFolderName is the name of the logical folder on the file server where the file is located.
  • errorMessage is the error message to be returned if the file cannot be successfully deleted.