Skip to content

nsuite v2.2.1


nsuite / uploadDirToQiniuOSS

Function: uploadDirToQiniuOSS()

uploadDirToQiniuOSS(payload): Promise<ReturnQiniuOSSUploadDir>

Defined in: UtilsQiniuOSS.ts:532

Uploads files from a local directory to Qiniu OSS.

Parameters

payload

ParamsQiniuOSSUploadDir

The upload settings, source directory, and optional callbacks.

Returns

Promise<ReturnQiniuOSSUploadDir>

Uploaded objects, refreshed URLs, and every resolved path.

Remarks

Set dryRun to inspect the resolved local and remote paths without uploading files.

Released under the Apache-2.0 License.