Méthode | Description | |
---|---|---|
ChunkedUploader ( long chunkSize = 1024*1024 ) : System |
Initializes a new instance of the ChunkedUploader class.
|
|
UploadFile ( IDocument remoteDocument, Stream localFileStream, |
Uploads the file. Resumes an upload if the given localFileStream.Position is larger than zero.
|
public ChunkedUploader ( long chunkSize = 1024*1024 ) : System | ||
chunkSize | long | /// Chunk size. /// |
Résultat | System |
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 | Is called on every new chunk, if not |
Résultat | IDocument |