Method | Description | |
---|---|---|
AppendFile ( IDocument remoteDocument, Stream localFileStream, |
Appends the localFileStream to the remoteDocument.
|
|
Dispose ( ) : void |
Releases all resource used by the CmisSync.Lib.FileTransmission.SimpleFileUploader object. Call Dispose when you are finished using the CmisSync.Lib.FileTransmission.SimpleFileUploader. The Dispose method leaves the CmisSync.Lib.FileTransmission.SimpleFileUploader in an unusable state. After calling Dispose, you must release all references to the CmisSync.Lib.FileTransmission.SimpleFileUploader so the garbage collector can reclaim the memory that the CmisSync.Lib.FileTransmission.SimpleFileUploader was occupying. |
|
UploadFile ( IDocument remoteDocument, Stream localFileStream, |
Uploads the localFileStream to remoteDocument.
|
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Dispose(bool disposing) executes in two distinct scenarios. If disposing equals true, the method has been called directly or indirectly by a user's code. Managed and unmanaged resources can be disposed. If disposing equals false, the method has been called by the runtime from inside the finalizer and you should not reference other objects. Only unmanaged resources can be disposed.
|
public AppendFile ( IDocument remoteDocument, Stream localFileStream, |
||
remoteDocument | IDocument | /// Remote document where the local content should be appended to. /// |
localFileStream | Stream | /// Local file stream. /// |
transmission | ||
hashAlg | /// Hash alg which should be used to calculate a checksum over the appended content. /// | |
return | IDocument |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | If set to |
return | void |
public UploadFile ( IDocument remoteDocument, Stream localFileStream, |
||
remoteDocument | IDocument | /// Remote document where the local content should be uploaded to. /// |
localFileStream | Stream | /// Local file stream. /// |
transmission | /// Transmission status where the uploader should report its uploading status. /// | |
hashAlg | /// Hash alg which should be used to calculate a checksum over the uploaded content. /// | |
overwrite | bool | /// If true, the local content will overwrite the existing content. /// |
update | UpdateChecksum | |
return | IDocument |