Method | Description | |
---|---|---|
CreateDir ( string remotePath ) : void |
Create a directory on the server
|
|
Delete ( string remoteFilePath ) : void |
Delete a file on the server
|
|
Download ( String remoteFilePath, String localFilePath ) : void |
Download a file from the server
|
|
List ( ) : void |
List files in the root directory
|
|
List ( String path ) : void |
List files in the given directory
|
|
List ( String remoteFilePath, int depth ) : void |
List all files present on the server.
|
|
Upload ( String localFilePath, String remoteFilePath ) : void |
Upload a file to the server
|
|
Upload ( String localFilePath, String remoteFilePath, object state ) : void |
Upload a file to the server
|
|
Upload ( byte fileData, String remoteFilePath, object state ) : void |
Upload raw data as a file to the server
|
Method | Description | |
---|---|---|
FinishCreateDir ( IAsyncResult result ) : void | ||
FinishDelete ( IAsyncResult result ) : void | ||
FinishDownload ( IAsyncResult result ) : void | ||
FinishList ( IAsyncResult result ) : void | ||
FinishUpload ( IAsyncResult result ) : void | ||
HTTPRequest ( |
Perform the WebDAV call and fire the callback when finished.
|
|
ReadCallback ( IAsyncResult result ) : void |
Submit data asynchronously
|
|
getServerUrl ( String path, System.Boolean appendTrailingSlash ) : |
public CreateDir ( string remotePath ) : void | ||
remotePath | string | Destination path of the directory on the server |
return | void |
public Delete ( string remoteFilePath ) : void | ||
remoteFilePath | string | |
return | void |
public Download ( String remoteFilePath, String localFilePath ) : void | ||
remoteFilePath | String | Source path and filename of the file on the server |
localFilePath | String | Destination path and filename of the file to download on the local filesystem |
return | void |
public List ( String remoteFilePath, int depth ) : void | ||
remoteFilePath | String | List only files in this path |
depth | int | Recursion depth |
return | void |
public Upload ( String localFilePath, String remoteFilePath ) : void | ||
localFilePath | String | Local path and filename of the file to upload |
remoteFilePath | String | Destination path and filename of the file on the server |
return | void |
public Upload ( String localFilePath, String remoteFilePath, object state ) : void | ||
localFilePath | String | Local path and filename of the file to upload |
remoteFilePath | String | Destination path and filename of the file on the server |
state | object | Object to pass along with the callback |
return | void |
public Upload ( byte fileData, String remoteFilePath, object state ) : void | ||
fileData | byte | data to upload |
remoteFilePath | String | Destination path and filename of the file on the server |
state | object | Object to pass along with the callback |
return | void |