Protected
_inheritingProtected
_urlProtected
InternalProtected
InternalProtected
InternalProtected
Readonly
momentsProtected
observersProtected
parentProtected
emitGets a value that specifies the list item field values for the list item corresponding to the file.
Property allowing access to manage observers on moments within this timeline
Querystring key, value pairs which will be included in the request
Gets a collection of versions
Stops the chunk upload session without saving the uploaded data. Does not support batching. If the file doesn’t already exist in the library, the partially uploaded file will be deleted. Use this in response to user action (as in a request to cancel an upload) or an error or exception. Use the uploadId value that was passed to the StartUpload method that started the upload session. This method is currently available only on Office 365.
The unique identifier of the upload session.
Protected
cloneProtected
continueContinues the chunk upload session with an additional fragment. The current file content is not changed. Use the uploadId value that was passed to the StartUpload method that started the upload session. This method is currently available only on Office 365.
The unique identifier of the upload session.
The size of the offset into the file where the fragment starts.
The file contents.
The size of the total uploaded data in bytes.
Moves the file by path to the specified destination url. Also works with different site collections.
The absolute url or server relative url of the destination file path to move to.
Should a file with the same name in the same location be overwritten?
Allows you to supply the full set of options controlling the copy behavior
Moves the file by path to the specified destination url. Also works with different site collections.
The absolute url or server relative url of the destination file path to move to.
Should a file with the same name in the same location be overwritten?
Optional
KeepBoth: booleanCopies the file to the destination url.
The absolute url or server relative url of the destination file path to copy to.
Optional
shouldOverWrite: booleanShould a file with the same name in the same location be overwritten?
Protected
errorProtected
executeProtected
finishUploads the last file fragment and commits the file. The current file content is changed when this method completes. Use the uploadId value that was passed to the StartUpload method that started the upload session. This method is currently available only on Office 365.
The unique identifier of the upload session.
The size of the offset into the file where the fragment starts.
The file contents.
The newly uploaded file.
Protected
getMoves the file by path to the specified destination url. Also works with different site collections.
The absolute url or server relative url of the destination file path to move to.
Should a file with the same name in the same location be overwritten?
Allows you to supply the full set of options controlling the move behavior
Moves the file by path to the specified destination url. Also works with different site collections.
The absolute url or server relative url of the destination file path to move to.
Should a file with the same name in the same location be overwritten?
Optional
KeepBoth: booleanProtected
moveSets the contents of a file using a chunked upload approach. Not supported in batching.
The file to upload
Optional
progress: ((data: IFileUploadProgressData) => void)A callback function which can be used to track the progress of the upload
Optional
chunkSize: numberThe size of each file slice, in bytes (default: 10485760)
Protected
startProtected
startStarts a new chunk upload session and uploads the first fragment. The current file content is not changed when this method completes. The method is idempotent (and therefore does not change the result) as long as you use the same values for uploadId and stream. The upload session ends either when you use the CancelUpload method or when you successfully complete the upload session by passing the rest of the file contents through the ContinueUpload and FinishUpload methods. The StartUpload and ContinueUpload methods return the size of the running total of uploaded data in bytes, so you can pass those return values to subsequent uses of ContinueUpload and FinishUpload. This method is currently available only on Office 365.
The unique identifier of the upload session.
The file contents.
The size of the total uploaded data in bytes.
Property allowing access to invoke a moment from within this timeline