upload_part: Uploads a file part

Description Usage Arguments

View source: R/utils.R

Description

Uploads a file part to a signed_url given size and initial position. This method will read a chunk of the file using readBin. If want_digest is set it will also calculate the digest and send it as a part of the header (only MD5 is supported)

Usage

1
upload_part(file_path, href, pos, size, want_digest = NULL)

Arguments

file_path

character. string naming a file

href

character. A signed URL to upload the file to

pos

numeric. A file position (relative to the origin specified by origin), or NA.

size

numeric. The (maximal) number of records to be read.

want_diggest

character. A string specifying the digest algorithm to use. (Currently only contentMD5 is supported)


datopian/giftlessclient documentation built on Jan. 29, 2021, 3:40 p.m.