Upload File to B2.
b2Uploadfile Uploads one file to the user's account B2.
b2UploadFile(authToken, uploadUrl, fileName)
A unique authorisation token permiting the upload of files
to B2. An authorisation token is obtained from
A unique URL permiting the upload of files to B2. An upload
URL is obtained from
The name of the file to be uploaded. Files must be located in the current working directory. A complete list of supported file types may be found in the b2FileTypes.rds file located in this package's data directory, or at the following location: https://www.backblaze.com/b2/docs/content-types.html
This function uploads one file to the user's account on the Backblaze B2
cloud storage product, returning a unique file ID. Files cannot be uploaded
to B2 unless
GetUploadUrl has been executed first, specifying the
bucket in which to upload the file. Further details regarding this API call
are available here:
fileName are mandatory and must
be user defined.
If successful a list containing the
fileInfo will all be
echoed back to the user.
1 2 3 4 5 6 7 8 9 10