IFileRepositoryServiceDownload Method

The Download method performs the download processing to return a File from the server as a byte array.

Namespace:  ABSuite.AccessLayer.Connector.Core
Assembly:  Unisys.ABSuite.AccessLayer.Connector.Core (in Unisys.ABSuite.AccessLayer.Connector.Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

string Download(
	string virtualPath,
	string targetFolder = null
)

Parameters

virtualPath
Type: SystemString
The path and filename of a specific file on the server
targetFolder (Optional)
Type: SystemString
The path of where the file will be downloaded to. If null or empty is will be the File Repository Local folder

Return Value

Type: String
A byte array with the contents of the file from the server
See Also

Reference