SP.File.continueUpload Method (sp.js)

Continues the chunk upload session with an additional fragment. The current file content is not changed.

Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013

Use the uploadId value that was passed to the SP.File.startUpload Method (sp.js) method that started the upload session.

This method is currently available only on Office 365.

SP.File.continueUpload()

Parameters

  • uploadId
    Type: Number

    The unique identifier of the upload session. Use the uploadId value that was passed to the SP.File.startUpload Method (sp.js) method that started the upload session.

  • fileOffset
    Type: Number

    The size of the offset into the file where the fragment starts.

  • stream
    Type: Stream

    The stream that contains the first fragment to upload.

Return value

Type: Number

The size of the uploaded data in bytes.