Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

OCI: How to use CLI command to download file from OCI bucket to local Windows folder

edited Dec 18, 2024 6:34AM in OCI - General

Summary:

How to use CLI command to download file from OCI bucket to local Windows folder

Content (please ensure you mask any confidential information):

Hello,

OCI CLI has been installed in our Oracle application server, we are able to download file from OCI bucket to our Linux folder by using below CLI command, but there is a requirement from our client to download it to their local Windows folder directly. Does anyone know if this is feasible by using CLI command or any API? If yes, please kindly share the sample of CLI command or the API details.

oci os object get --bucket-name <BucketName> --name <FileName> --file /u01/<InstanceName>/applptmp/<FolderName>/<FileName> --auth instance_principal

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!