| 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
)
Public Function DownloadFileByUrl (
relativeUrl As String,
downloadPath As String
) As Boolean
public:
bool DownloadFileByUrl(
String^ relativeUrl,
String^ downloadPath
)
member DownloadFileByUrl :
relativeUrl : string *
downloadPath : string -> bool
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:
BooleanTrue if the file was downloaded, false otherwise.
See Also