Click or drag to resize
Galactic API

SharePointClientDownloadFileByUrl Method

Downloads a file from the SharePoint server with the specified relative URL.

Namespace:  Galactic.SharePoint
Assembly:  Galactic.SharePoint (in Galactic.SharePoint.dll) Version: 1.3.0.499 (1.3.0.499)
Syntax
public bool DownloadFileByUrl(
	string relativeUrl,
	string downloadPath
)

Parameters

relativeUrl
Type: SystemString
The relative URL of the file to retrieve from the base of the web application containing it.
downloadPath
Type: SystemString
The path to the directory that the file should be downloaded to.

Return Value

Type: Boolean
True if the file was downloaded, false otherwise.
See Also