Uploading an Object
On Compute Cloud@Customer, you can upload an object using the CLI and API.
An object can be uploaded as a single part or as multiple parts. Use the
--no-multipart
option to upload as a single part. For detailed
information on multipart uploads, see Performing a Multipart Upload.
Objects stored in Compute Cloud@Customer Object Storage are compressed. You might notice that the size of an uploaded object is smaller that the size of the original object before it was uploaded.
This task isn't available in the Console.
Use the oci os object put command and required parameters to upload an object to a bucket.
oci os object put --namespace-name <object_storage_namespace> --bucket-name <bucket_name> --file <file_location> [OPTIONS]
For a complete list of CLI commands, flags, and options, see the Command Line Reference.
Use the PutObject operation to upload an object to a bucket.
For information about using the API and signing requests, see REST APIs and Security Credentials. For information about SDKs, see Software Development Kits and Command Line Interface.