Skip to content

nsuite v2.3.1


nsuite / uploadDirToQiniuOSS

Function: uploadDirToQiniuOSS() ​

uploadDirToQiniuOSS(payload): Promise<ReturnQiniuOSSUploadDir>

Defined in: UtilsQiniuOSS.ts:862

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, skipped objects, refreshed URLs, and every resolved path.

Remarks ​

Set dryRun to inspect the resolved local and remote paths without uploading files. Set skipSameFile to compare each remote size and MD5 and report unchanged files in skippedList instead of uploading them; only uploaded files are refreshed.

Released under the Apache-2.0 License.