OSS SDK for Browser.js provides several methods to download files. Choose a method based on your scenario:
-
To download or preview a file by URL, use the
signatureUrlmethod to generate a signed URL. For more information, see Preview or download a file (Browser.js SDK). -
To download only part of a file, use range download. For more information, see Range download (Browser.js SDK).
-
To download a file only when specific conditions are met, such as the file being modified before a specified time or an ETag match, use conditional download. For more information, see Conditional download (Browser.js SDK).