Class: ChunkedUploader

ChunkedUploader#ChunkedUploader(client, uploadSessionInfo, file, size, optionsopt)

new ChunkedUploader(client, uploadSessionInfo, file, size, optionsopt)

Create an upload manager
Parameters:
Name Type Attributes Description
client BoxClient The client to use to upload the file
uploadSessionInfo Object The upload session info to use for chunked upload
file ReadableStream | Buffer | string The file to upload
size int The size of the file to be uploaded
options Object <optional>
Optional parameters
Properties
Name Type Attributes Default Description
retryInterval int <optional>
1000 The number of ms to wait before retrying operations
parallelism int <optional>
4 The number of concurrent chunks to upload
fileAttributes Object <optional>
Attributes to set on the file during commit
Source: