URL of a file in public bucket of Oracle Object Storage..

If the url for Oracle object Storage public bucket (called OracleML-POC) is:

https://cloud.oracle.com/object-storage/buckets/idwtpq/OracleML-POC/objects?region=us-ashburn-1

and we upload a file over there, then the url to access the file will be:

https://objectstorage.us-ashburn-1.oraclecloud.com/n/idwtpq/b/OracleML-POC/o/customer_names.csv

NOTE:

  1. How cloud location of ashburn is added to this url.
  2. How /n/ and /b/ and /o/ are added in file url, and how the values are added after each.#objectstorage

To download the file using ‘curl’ in windows command prompt or linux, type this:

curl https://objectstorage.us-ashburn-1.oraclecloud.com/n/idwtpq/b/OracleML-POC/o/customer_names.csv -o customer_names.csv