Click or drag to resize
FileBasedProjectDownloadSpecificServerVersion Method
Downloads a specific version of a file from the server in to the specified location

Namespace: Sdl.ProjectAutomation.FileBased
Assembly: Sdl.ProjectAutomation.FileBased (in Sdl.ProjectAutomation.FileBased.dll) Version: 3.0.0.0 (3.1.5799.0)
Syntax
public bool DownloadSpecificServerVersion(
	Guid projectFileId,
	int versionNumber,
	string localFilePath,
	EventHandler<DataTransferEventArgs> progressEventHandler
)

Parameters

projectFileId
Type: SystemGuid
The unique identifier for the file
versionNumber
Type: SystemInt32
The version number of the file you wish to download
localFilePath
Type: SystemString
The location you wish to download the file to
progressEventHandler
Type: SystemEventHandlerDataTransferEventArgs
>A progress event handler, allowing the caller to cancel the download if required.

Return Value

Type: Boolean
true if successful
See Also
Community
Edit

Be the first to Edit the community content of this topic.
Comments