Method | Description | |
---|---|---|
CopyFileToRemoteTempAsync ( string filePath, bool doCleanUp, IProgress |
Copies file from local file path to Temp folder on the remote session.
|
|
DataTransferSession ( IRSession session, IFileSystem fs ) : System | ||
Dispose ( ) : void | ||
FetchAndDecompressBytesAsync ( IRBlobInfo blob, bool doCleanUp, IProgress |
Gets the data for a given blob (compressed) from R-Host and decompresses it. This method adds the blob for clean up by default.
|
|
FetchAndDecompressFileAsync ( IRBlobInfo blob, string filePath, bool doCleanUp, IProgress |
Gets the data for a given blob from R-Host. Decompresses it and saves the data to filePath. This method adds the blob for clean up by default.
|
|
FetchBytesAsync ( IRBlobInfo blob, bool doCleanUp, IProgress |
Gets the data for a given blob from R-Host. This method adds the blob for clean up by default.
|
|
FetchFileAsync ( IRBlobInfo blob, string filePath, bool doCleanUp, IProgress |
Gets the data for a given blob from R-Host. Saves the data to filePath. This method adds the blob for clean up by default.
|
|
FetchFileToLocalTempAsync ( string remoteRPath, string localRPath, |
Copies file from remote file path to downloads folder on the local session.
|
|
SendBytesAsync ( byte data, bool doCleanUp, IProgress |
Sends a block of data to R-Host by creating a new blob. This method adds the blob for clean up by default.
|
|
SendFileAsync ( string filePath, bool doCleanUp, IProgress |
Sends file to R-Host by creating a new blob. This method adds the blob for clean up by default.
|
public CopyFileToRemoteTempAsync ( string filePath, bool doCleanUp, IProgress |
||
filePath | string | Path to the file to be sent to remote session. |
doCleanUp | bool | true to add blob upon transfer for cleanup on dispose, false to ignore it after transfer. |
progress | IProgress |
|
cancellationToken | ||
return | Task |
public DataTransferSession ( IRSession session, IFileSystem fs ) : System | ||
session | IRSession | |
fs | IFileSystem | |
return | System |
public FetchAndDecompressBytesAsync ( IRBlobInfo blob, bool doCleanUp, IProgress |
||
blob | IRBlobInfo | Blob from which the data is to be retrieved. |
doCleanUp | bool | true to add blob upon transfer for cleanup on dispose, false to ignore it after transfer. |
progress | IProgress |
|
cancellationToken | ||
return | Task |
public FetchAndDecompressFileAsync ( IRBlobInfo blob, string filePath, bool doCleanUp, IProgress |
||
blob | IRBlobInfo | Blob from which the data is to be retrieved. |
filePath | string | Path to the file where the retrieved data will be written. |
doCleanUp | bool | true to add blob upon transfer for cleanup on dispose, false to ignore it after transfer. |
progress | IProgress |
|
cancellationToken | ||
return | Task |
public FetchBytesAsync ( IRBlobInfo blob, bool doCleanUp, IProgress |
||
blob | IRBlobInfo | Blob from which the data is to be retrieved. |
doCleanUp | bool | true to add blob upon transfer for cleanup on dispose, false to ignore it after transfer. |
progress | IProgress |
|
cancellationToken | ||
return | Task |
public FetchFileAsync ( IRBlobInfo blob, string filePath, bool doCleanUp, IProgress |
||
blob | IRBlobInfo | Blob from which the data is to be retrieved. |
filePath | string | Path to the file where the retrieved data will be written. |
doCleanUp | bool | true to add blob upon transfer for cleanup on dispose, false to ignore it after transfer. |
progress | IProgress |
|
cancellationToken | ||
return | Task |
public FetchFileToLocalTempAsync ( string remoteRPath, string localRPath, |
||
remoteRPath | string | |
localRPath | string | |
cancellationToken | ||
return | Task |
public SendBytesAsync ( byte data, bool doCleanUp, IProgress |
||
data | byte | Block of data to be sent. |
doCleanUp | bool | /// true to add blob created upon transfer for cleanup on dispose, false to ignore it after transfer. /// |
progress | IProgress |
|
cancellationToken | ||
return | Task |
public SendFileAsync ( string filePath, bool doCleanUp, IProgress |
||
filePath | string | Path to the file to be sent to R-Host. |
doCleanUp | bool | /// true to add blob created upon transfer for cleanup on dispose, false to ignore it after transfer. /// |
progress | IProgress |
|
cancellationToken | ||
return | Task |