{"id":733,"date":"2022-01-09T15:29:32","date_gmt":"2022-01-09T15:29:32","guid":{"rendered":"http:\/\/5centscdn.net\/help-new\/?p=733"},"modified":"2026-03-12T17:54:33","modified_gmt":"2026-03-12T17:54:33","slug":"how-to-upload-files-to-openstack-swift-using-curl","status":"publish","type":"post","link":"https:\/\/www.5centscdn.net\/help\/how-to-upload-files-to-openstack-swift-using-curl\/","title":{"rendered":"How to upload files to OpenStack Swift using curl?"},"content":{"rendered":"<p>This article explains the steps to upload files to Open Stack Swift using curl. Please follow the steps.<\/p>\n<ol>\n<li><strong>The first step is to download the OpenStack RC File from the console.\u00a0<\/strong><\/li>\n<\/ol>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li>Login to <strong>5centsCDN<\/strong> console.<\/li>\n<li>Go to Zones and select<strong> HTTP or VoD<\/strong> push zone.<\/li>\n<li>Click the<strong> Manage<\/strong> button of your push zone.<\/li>\n<li>On the redirected page, Click <strong>FTP \/ OpenStack Details<\/strong>.<\/li>\n<li>Select <strong>OPENSTACK<\/strong> option.<\/li>\n<li>Here you can download the <strong>OpenStack RC File v3<\/strong>. Simply click the download option.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>2. <strong>The second step is, you need to get a token that can be used instead of the user name and password. Authentication is done through keystone. You can follow the steps to generate the token.<\/strong><\/p>\n<p><em>The token is valid for 24 hrs time. you can use the token instead of Username and Password.<\/em><\/p>\n<ul>\n<li>You can use the below-mentioned script to generate the token.\n<ul>\n<li>Create a file in your system. Open <strong>Terminal<\/strong> and execute the command.<br \/>\n<strong><em>$nano token.sh<\/em><\/strong><\/li>\n<li>Paste the token generation script to the file. A sample script is attached below<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<div class=\"highlight-bash notranslate\">\n<div class=\"highlight\">\n<pre><span class=\"ch\">#!\/bin\/sh<\/span>\n\n<span class=\"nb\">export<\/span> <span class=\"nv\">OS_PROJECT_DOMAIN_NAME<\/span><span class=\"o\">=<\/span><project domain>\n<span class=\"nb\">export<\/span> <span class=\"nv\">OS_USER_DOMAIN_NAME<\/span><span class=\"o\">=<\/span><user domain>\n<span class=\"nb\">export<\/span> <span class=\"nv\">OS_PROJECT_NAME<\/span><span class=\"o\">=<\/span><project name>\n<span class=\"nb\">export<\/span> <span class=\"nv\">OS_USERNAME<\/span><span class=\"o\">=<\/span><user name>\n<span class=\"nb\">export<\/span> <span class=\"nv\">OS_PASSWORD<\/span><span class=\"o\">=<\/span><password>\n<span class=\"nb\">export<\/span> <span class=\"nv\">OS_AUTH_URL<\/span><span class=\"o\">=http:\/\/controller.5centscdn.com\/v3\/<\/span>\n\n<span class=\"nv\">TMPFILE<\/span><span class=\"o\">=<\/span><span class=\"sb\">`<\/span>mktemp<span class=\"sb\">`<\/span>\nchmod <span class=\"m\">600<\/span> <span class=\"si\">${<\/span><span class=\"nv\">TMPFILE<\/span><span class=\"si\">}<\/span>\n\n<span class=\"nv\">JSONFILE<\/span><span class=\"o\">=<\/span><span class=\"sb\">`<\/span>mktemp<span class=\"sb\">`<\/span>\nchmod <span class=\"m\">600<\/span> <span class=\"si\">${<\/span><span class=\"nv\">JSONFILE<\/span><span class=\"si\">}<\/span>\n\ncat ><span class=\"si\">${<\/span><span class=\"nv\">JSONFILE<\/span><span class=\"si\">}<\/span> <span class=\"s\"><<EOF<\/span>\n<span class=\"s\">{<\/span>\n<span class=\"s\">  \"auth\": {<\/span>\n<span class=\"s\">    \"identity\": {<\/span>\n<span class=\"s\">       \"methods\": [\"password\"],<\/span>\n<span class=\"s\">          \"password\": {<\/span>\n<span class=\"s\">             \"user\": {<\/span>\n<span class=\"s\">                \"domain\": {\"name\": \"${OS_USER_DOMAIN_NAME}\"},<\/span>\n<span class=\"s\">                   \"name\": \"${OS_USERNAME}\",<\/span>\n<span class=\"s\">                   \"password\": \"${OS_PASSWORD}\"<\/span>\n<span class=\"s\">             }<\/span>\n<span class=\"s\">          }<\/span>\n<span class=\"s\">       },<\/span>\n<span class=\"s\">       \"scope\": {<\/span>\n<span class=\"s\">          \"project\": {<\/span>\n<span class=\"s\">             \"domain\": {\"name\": \"${OS_PROJECT_DOMAIN_NAME}\"},<\/span>\n<span class=\"s\">                \"name\": \"${OS_PROJECT_NAME}\"<\/span>\n<span class=\"s\">          }<\/span>\n<span class=\"s\">       }<\/span>\n<span class=\"s\">   }<\/span>\n<span class=\"s\">}<\/span>\n<span class=\"s\">EOF<\/span>\n\ncurl -si  <span class=\"se\"><\/span>\n  -H <span class=\"s2\">\"Content-Type: application\/json\"<\/span> <span class=\"se\"><\/span>\n  -o <span class=\"si\">${<\/span><span class=\"nv\">TMPFILE<\/span><span class=\"si\">}<\/span> <span class=\"se\"><\/span>\n  -d @<span class=\"si\">${<\/span><span class=\"nv\">JSONFILE<\/span><span class=\"si\">}<\/span> <span class=\"se\"><\/span>\n<span class=\"si\">${<\/span><span class=\"nv\">OS_AUTH_URL<\/span><span class=\"si\">}<\/span>\/auth\/tokens <span class=\"m\">2<\/span>>\/dev\/null\n\n<span class=\"nb\">echo<\/span>\ncat <span class=\"si\">${<\/span><span class=\"nv\">TMPFILE<\/span><span class=\"si\">}<\/span> <span class=\"p\">|<\/span> grep <span class=\"s1\">'X-Subject-Token:'<\/span>\n\n<span class=\"nb\">echo<\/span>\ntail -1 <span class=\"si\">${<\/span><span class=\"nv\">TMPFILE<\/span><span class=\"si\">}<\/span> <span class=\"p\">|<\/span> json_pp\n\nrm -f <span class=\"si\">${<\/span><span class=\"nv\">TMPFILE<\/span><span class=\"si\">}<\/span> <span class=\"si\">${<\/span><span class=\"nv\">JSONFILE<\/span><span class=\"si\">}<\/span>\n<\/pre>\n<\/div>\n<\/div>\n<p>\u00a0<\/p>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li>In <strong>Step 1,\u00a0<\/strong>we have already downloaded the <strong>OpenStack RC File v3.\u00a0<\/strong>You can replace the credentials in the above script with the credentials listed in the <strong>OpenStack RC File v3.\u00a0<\/strong>You have to replace the following credential in the above code.\n<div class=\"highlight-bash notranslate\">\n<div class=\"highlight\">\n<pre><span class=\"nb\">export<\/span> <span class=\"nv\">OS_PROJECT_DOMAIN_NAME<\/span><span class=\"o\">=<\/span><project domain>\n<span class=\"nb\">export<\/span> <span class=\"nv\">OS_USER_DOMAIN_NAME<\/span><span class=\"o\">=<\/span><user domain> \n<span class=\"nb\">export<\/span> <span class=\"nv\">OS_PROJECT_NAME<\/span><span class=\"o\">=<\/span><project name> \n<span class=\"nb\">export<\/span> <span class=\"nv\">OS_USERNAME<\/span><span class=\"o\">=<\/span><user name> \n<span class=\"nb\">export<\/span> <span class=\"nv\">OS_PASSWORD<\/span><span class=\"o\">=<\/span><password> \n<span class=\"nb\">export<\/span> <span class=\"nv\">OS_AUTH_URL<\/span><span class=\"o\">=http:\/\/controller.5centscdn.com\/v3\/<\/span> \n<\/pre>\n<\/div>\n<\/div>\n<\/li>\n<li>Now you can save the file and exit from the editor.<\/li>\n<\/ul>\n<\/li>\n<li>Run the script to get the <strong>Token<\/strong> and <strong>storage URL<br \/>\n<\/strong><\/p>\n<div class=\"highlight-bash notranslate\">\n<div class=\"highlight\">\n<pre>$sh token.sh<\/pre>\n<\/div>\n<\/div>\n<\/li>\n<li>Once the script is executed, you will get the token in this section &#8220;<strong>X-Subject-Token:&#8221;<\/strong>. Also, you can find the <strong>storage URL<\/strong> from the output. a sample output image is attacked below.<\/li>\n<li><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-3433 size-full\" src=\"https:\/\/www.5centscdn.net\/help\/wp-content\/uploads\/2022\/01\/token.jpg\" alt=\"\" width=\"1294\" height=\"699\" \/><br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-3434 size-full\" src=\"https:\/\/www.5centscdn.net\/help\/wp-content\/uploads\/2022\/01\/url.jpg\" alt=\"\" width=\"1011\" height=\"572\" \/><\/li>\n<\/ul>\n<p>3. The token and storage URL generated, now you can execute operations like create a container, Upload files, list containers or files using curl<\/p>\n<h3>-> How to create a container using curl?<\/h3>\n<div id=\"create-a-container\" class=\"section\">\n<div class=\"highlight-console notranslate\">\n<div class=\"highlight\">\n<pre><span class=\"go\">curl -i -X PUT -H \"X-Auth-Token: <token>\" <storage url>\/mycontainer<\/span>\n<\/pre>\n<\/div>\n<\/div>\n<\/div>\n<div id=\"upload-download-an-object-to-from-container\" class=\"section\"><strong>Here, you can replace <token> and <storage url>\u00a0<\/strong><\/div>\n<div><\/div>\n<div><\/div>\n<h3>-> How to upload\/Download an object or file using curl?<\/h3>\n<div class=\"highlight-console notranslate\">\n<div class=\"highlight\">\n<pre><span class=\"go\">curl -i -T myobject -X PUT -H \"X-Auth-Token: <token>\" <storage url>\/mycontainer\/myobject<\/span>\n<\/pre>\n<\/div>\n<\/div>\n<div id=\"upload-download-an-object-to-from-container\" class=\"section\">\n<div class=\"highlight-console notranslate\">\n<div class=\"highlight\">\n<pre><span class=\"go\">curl -s -S -X GET -H \"X-Auth-Token: <token>\" <storage url>\/mycontainer\/myobject -O<\/span>\n<\/pre>\n<\/div>\n<\/div>\n<\/div>\n<div id=\"getting-metadata\" class=\"section\"><\/div>\n<h3>-> How to list containers in an account?<\/h3>\n<div id=\"list-the-containers-of-an-account\" class=\"section\">\n<div class=\"highlight-console notranslate\">\n<div class=\"highlight\">\n<pre><span class=\"go\">curl -s -S -X GET -H \"X-Auth-Token: <token>\" <storage url><\/span>\n<\/pre>\n<\/div>\n<\/div>\n<\/div>\n<div id=\"list-the-contents-of-a-container\" class=\"section\"><\/div>\n<h3>-> How to list objects in a container?<\/h3>\n<div id=\"list-the-contents-of-a-container\" class=\"section\">\n<div class=\"highlight-console notranslate\">\n<div class=\"highlight\">\n<pre><span class=\"go\">curl -s -S -X GET -H \"X-Auth-Token: <token>\" <storage url>\/mycontainer<\/span>\n<\/pre>\n<\/div>\n<\/div>\n<\/div>\n<div id=\"delete-a-container\" class=\"section\"><\/div>\n<h3>-> How to delete a container?<\/h3>\n<div class=\"highlight-console notranslate\">\n<div class=\"highlight\">\n<pre><span class=\"go\">curl -s -S -X DELETE -H \"X-Auth-Token: <token>\" <storage url>\/mycontainer<\/span>\n<\/pre>\n<\/div>\n<\/div>\n<h3>-> How to delete an object?<\/h3>\n<div id=\"delete-an-object\" class=\"section\">\n<div class=\"highlight-console notranslate\">\n<div class=\"highlight\">\n<pre><span class=\"go\">curl -s -S -X DELETE -H \"X-Auth-Token: <token>\" <storage url>\/mycontainer\/myobject<\/span>\n<\/pre>\n<\/div>\n<\/div>\n<\/div>\n<div id=\"set-and-get-your-own-metadata-for-containers-and-objects\" class=\"section\"><\/div>\n<p>\u00a0<\/p>\n<p>\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This article explains the steps to upload files to Open Stack Swift using curl. Please follow the steps. The first step is to download the OpenStack RC File from the console.\u00a0 Login to 5centsCDN console. Go to Zones and select HTTP or VoD push zone. Click the Manage button of your push zone. On the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[45],"tags":[],"class_list":["post-733","post","type-post","status-publish","format-standard","hentry","category-cloud-storage"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO Pro 4.9.5.2 - aioseo.com -->\n\t<meta name=\"description\" content=\"This article explains the steps to upload files to Open Stack Swift using curl. Please follow the steps. The first step is to download the OpenStack RC File from the console. Login to 5centsCDN console. Go to Zones and select HTTP or VoD push zone. Click the Manage button of your push zone. On the\" \/>\n\t<meta name=\"robots\" content=\"noarchive, noodp, notranslate, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n\t<meta name=\"author\" content=\"pradhyuman\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.5centscdn.net\/help\/how-to-upload-files-to-openstack-swift-using-curl\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO Pro (AIOSEO) 4.9.5.2\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"5centsCDN Help Center - 5centsCDN | Guides, Tutorials &amp; Support\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"How to upload files to OpenStack Swift using curl? - 5centsCDN Help Center\" \/>\n\t\t<meta property=\"og:description\" content=\"This article explains the steps to upload files to Open Stack Swift using curl. Please follow the steps. The first step is to download the OpenStack RC File from the console. Login to 5centsCDN console. Go to Zones and select HTTP or VoD push zone. Click the Manage button of your push zone. On the\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.5centscdn.net\/help\/how-to-upload-files-to-openstack-swift-using-curl\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/www.5centscdn.net\/help\/wp-content\/uploads\/2024\/01\/Logo.png?wsr\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/www.5centscdn.net\/help\/wp-content\/uploads\/2024\/01\/Logo.png?wsr\" \/>\n\t\t<meta property=\"og:image:width\" content=\"160\" \/>\n\t\t<meta property=\"og:image:height\" content=\"58\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2022-01-09T15:29:32+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2026-03-12T17:54:33+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/facebook.com\/5centscdn\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@5centscdn\" \/>\n\t\t<meta name=\"twitter:title\" content=\"How to upload files to OpenStack Swift using curl? - 5centsCDN Help Center\" \/>\n\t\t<meta name=\"twitter:description\" content=\"This article explains the steps to upload files to Open Stack Swift using curl. Please follow the steps. The first step is to download the OpenStack RC File from the console. Login to 5centsCDN console. Go to Zones and select HTTP or VoD push zone. Click the Manage button of your push zone. On the\" \/>\n\t\t<meta name=\"twitter:creator\" content=\"@5centscdn\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/www.5centscdn.net\/help\/wp-content\/uploads\/2024\/01\/Logo.png?wsr\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.5centscdn.net\\\/help\\\/how-to-upload-files-to-openstack-swift-using-curl\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.5centscdn.net\\\/help#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.5centscdn.net\\\/help\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.5centscdn.net\\\/help\\\/kb\\\/v4\\\/zones\\\/http-push\\\/cloud-storage\\\/#listItem\",\"name\":\"Cloud Storage\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.5centscdn.net\\\/help\\\/kb\\\/v4\\\/zones\\\/http-push\\\/cloud-storage\\\/#listItem\",\"position\":2,\"name\":\"Cloud Storage\",\"item\":\"https:\\\/\\\/www.5centscdn.net\\\/help\\\/kb\\\/v4\\\/zones\\\/http-push\\\/cloud-storage\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.5centscdn.net\\\/help\\\/how-to-upload-files-to-openstack-swift-using-curl\\\/#listItem\",\"name\":\"How to upload files to OpenStack Swift using curl?\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.5centscdn.net\\\/help#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.5centscdn.net\\\/help\\\/how-to-upload-files-to-openstack-swift-using-curl\\\/#listItem\",\"position\":3,\"name\":\"How to upload files to OpenStack Swift using curl?\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.5centscdn.net\\\/help\\\/kb\\\/v4\\\/zones\\\/http-push\\\/cloud-storage\\\/#listItem\",\"name\":\"Cloud Storage\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.5centscdn.net\\\/help\\\/#organization\",\"name\":\"5centsCDN Help Center\",\"description\":\"5centsCDN | Guides, Tutorials & Support\",\"url\":\"https:\\\/\\\/www.5centscdn.net\\\/help\\\/\",\"email\":\"hello@5centscdn.com\",\"telephone\":\"+13025203418\",\"foundingDate\":\"2021-06-08\",\"numberOfEmployees\":{\"@type\":\"QuantitativeValue\",\"minValue\":1,\"maxValue\":50},\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.5centscdn.net\\\/help\\\/wp-content\\\/uploads\\\/2024\\\/01\\\/Logo.png?wsr\",\"@id\":\"https:\\\/\\\/www.5centscdn.net\\\/help\\\/how-to-upload-files-to-openstack-swift-using-curl\\\/#organizationLogo\",\"width\":160,\"height\":58,\"caption\":\"5centsCDN Logo\"},\"image\":{\"@id\":\"https:\\\/\\\/www.5centscdn.net\\\/help\\\/how-to-upload-files-to-openstack-swift-using-curl\\\/#organizationLogo\"},\"sameAs\":[\"https:\\\/\\\/facebook.com\\\/5centscdn\",\"https:\\\/\\\/x.com\\\/5centscdn\",\"https:\\\/\\\/instagram.com\\\/5centscdn\",\"https:\\\/\\\/tiktok.com\\\/@5centscdn\",\"https:\\\/\\\/pinterest.com\\\/5centscdn\",\"https:\\\/\\\/youtube.com\\\/5centscdn\",\"https:\\\/\\\/linkedin.com\\\/in\\\/5centscdn\",\"https:\\\/\\\/bsky.app\\\/profile\\\/5centscdn\",\"https:\\\/\\\/threads.com\\\/@5centscdn\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.5centscdn.net\\\/help\\\/author\\\/pradhyuman\\\/#author\",\"url\":\"https:\\\/\\\/www.5centscdn.net\\\/help\\\/author\\\/pradhyuman\\\/\",\"name\":\"pradhyuman\",\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/6b8609bbef17e7ef3a7663a00cfa6ddf14121cbea329a29f34e412902d1d0741?s=96&d=mm&r=g\"}},{\"@type\":\"SoftwareApplication\",\"@id\":\"https:\\\/\\\/www.5centscdn.net\\\/help\\\/how-to-upload-files-to-openstack-swift-using-curl\\\/#softwareApp\",\"name\":\"How to upload files to OpenStack Swift using curl?\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.5centscdn.net\\\/help\\\/how-to-upload-files-to-openstack-swift-using-curl\\\/#webpage\",\"url\":\"https:\\\/\\\/www.5centscdn.net\\\/help\\\/how-to-upload-files-to-openstack-swift-using-curl\\\/\",\"name\":\"How to upload files to OpenStack Swift using curl? - 5centsCDN Help Center\",\"description\":\"This article explains the steps to upload files to Open Stack Swift using curl. Please follow the steps. The first step is to download the OpenStack RC File from the console. Login to 5centsCDN console. Go to Zones and select HTTP or VoD push zone. Click the Manage button of your push zone. On the\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.5centscdn.net\\\/help\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.5centscdn.net\\\/help\\\/how-to-upload-files-to-openstack-swift-using-curl\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.5centscdn.net\\\/help\\\/author\\\/pradhyuman\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.5centscdn.net\\\/help\\\/author\\\/pradhyuman\\\/#author\"},\"datePublished\":\"2022-01-09T15:29:32+00:00\",\"dateModified\":\"2026-03-12T17:54:33+00:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.5centscdn.net\\\/help\\\/#website\",\"url\":\"https:\\\/\\\/www.5centscdn.net\\\/help\\\/\",\"name\":\"5centsCDN Help Center\",\"alternateName\":\"5centsCDN\",\"description\":\"5centsCDN | Guides, Tutorials & Support\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.5centscdn.net\\\/help\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO Pro -->\r\n\t\t<title>How to upload files to OpenStack Swift using curl? - 5centsCDN Help Center<\/title>\n\n","aioseo_head_json":{"title":"How to upload files to OpenStack Swift using curl? - 5centsCDN Help Center","description":"This article explains the steps to upload files to Open Stack Swift using curl. Please follow the steps. The first step is to download the OpenStack RC File from the console. Login to 5centsCDN console. Go to Zones and select HTTP or VoD push zone. Click the Manage button of your push zone. On the","canonical_url":"https:\/\/www.5centscdn.net\/help\/how-to-upload-files-to-openstack-swift-using-curl\/","robots":"noarchive, noodp, notranslate, max-snippet:-1, max-image-preview:large, max-video-preview:-1","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BreadcrumbList","@id":"https:\/\/www.5centscdn.net\/help\/how-to-upload-files-to-openstack-swift-using-curl\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.5centscdn.net\/help#listItem","position":1,"name":"Home","item":"https:\/\/www.5centscdn.net\/help","nextItem":{"@type":"ListItem","@id":"https:\/\/www.5centscdn.net\/help\/kb\/v4\/zones\/http-push\/cloud-storage\/#listItem","name":"Cloud Storage"}},{"@type":"ListItem","@id":"https:\/\/www.5centscdn.net\/help\/kb\/v4\/zones\/http-push\/cloud-storage\/#listItem","position":2,"name":"Cloud Storage","item":"https:\/\/www.5centscdn.net\/help\/kb\/v4\/zones\/http-push\/cloud-storage\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.5centscdn.net\/help\/how-to-upload-files-to-openstack-swift-using-curl\/#listItem","name":"How to upload files to OpenStack Swift using curl?"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.5centscdn.net\/help#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.5centscdn.net\/help\/how-to-upload-files-to-openstack-swift-using-curl\/#listItem","position":3,"name":"How to upload files to OpenStack Swift using curl?","previousItem":{"@type":"ListItem","@id":"https:\/\/www.5centscdn.net\/help\/kb\/v4\/zones\/http-push\/cloud-storage\/#listItem","name":"Cloud Storage"}}]},{"@type":"Organization","@id":"https:\/\/www.5centscdn.net\/help\/#organization","name":"5centsCDN Help Center","description":"5centsCDN | Guides, Tutorials & Support","url":"https:\/\/www.5centscdn.net\/help\/","email":"hello@5centscdn.com","telephone":"+13025203418","foundingDate":"2021-06-08","numberOfEmployees":{"@type":"QuantitativeValue","minValue":1,"maxValue":50},"logo":{"@type":"ImageObject","url":"https:\/\/www.5centscdn.net\/help\/wp-content\/uploads\/2024\/01\/Logo.png?wsr","@id":"https:\/\/www.5centscdn.net\/help\/how-to-upload-files-to-openstack-swift-using-curl\/#organizationLogo","width":160,"height":58,"caption":"5centsCDN Logo"},"image":{"@id":"https:\/\/www.5centscdn.net\/help\/how-to-upload-files-to-openstack-swift-using-curl\/#organizationLogo"},"sameAs":["https:\/\/facebook.com\/5centscdn","https:\/\/x.com\/5centscdn","https:\/\/instagram.com\/5centscdn","https:\/\/tiktok.com\/@5centscdn","https:\/\/pinterest.com\/5centscdn","https:\/\/youtube.com\/5centscdn","https:\/\/linkedin.com\/in\/5centscdn","https:\/\/bsky.app\/profile\/5centscdn","https:\/\/threads.com\/@5centscdn"]},{"@type":"Person","@id":"https:\/\/www.5centscdn.net\/help\/author\/pradhyuman\/#author","url":"https:\/\/www.5centscdn.net\/help\/author\/pradhyuman\/","name":"pradhyuman","image":{"@type":"ImageObject","url":"https:\/\/secure.gravatar.com\/avatar\/6b8609bbef17e7ef3a7663a00cfa6ddf14121cbea329a29f34e412902d1d0741?s=96&d=mm&r=g"}},{"@type":"SoftwareApplication","@id":"https:\/\/www.5centscdn.net\/help\/how-to-upload-files-to-openstack-swift-using-curl\/#softwareApp","name":"How to upload files to OpenStack Swift using curl?"},{"@type":"WebPage","@id":"https:\/\/www.5centscdn.net\/help\/how-to-upload-files-to-openstack-swift-using-curl\/#webpage","url":"https:\/\/www.5centscdn.net\/help\/how-to-upload-files-to-openstack-swift-using-curl\/","name":"How to upload files to OpenStack Swift using curl? - 5centsCDN Help Center","description":"This article explains the steps to upload files to Open Stack Swift using curl. Please follow the steps. The first step is to download the OpenStack RC File from the console. Login to 5centsCDN console. Go to Zones and select HTTP or VoD push zone. Click the Manage button of your push zone. On the","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/www.5centscdn.net\/help\/#website"},"breadcrumb":{"@id":"https:\/\/www.5centscdn.net\/help\/how-to-upload-files-to-openstack-swift-using-curl\/#breadcrumblist"},"author":{"@id":"https:\/\/www.5centscdn.net\/help\/author\/pradhyuman\/#author"},"creator":{"@id":"https:\/\/www.5centscdn.net\/help\/author\/pradhyuman\/#author"},"datePublished":"2022-01-09T15:29:32+00:00","dateModified":"2026-03-12T17:54:33+00:00"},{"@type":"WebSite","@id":"https:\/\/www.5centscdn.net\/help\/#website","url":"https:\/\/www.5centscdn.net\/help\/","name":"5centsCDN Help Center","alternateName":"5centsCDN","description":"5centsCDN | Guides, Tutorials & Support","inLanguage":"en-US","publisher":{"@id":"https:\/\/www.5centscdn.net\/help\/#organization"}}]},"og:locale":"en_US","og:site_name":"5centsCDN Help Center - 5centsCDN | Guides, Tutorials &amp; Support","og:type":"article","og:title":"How to upload files to OpenStack Swift using curl? - 5centsCDN Help Center","og:description":"This article explains the steps to upload files to Open Stack Swift using curl. Please follow the steps. The first step is to download the OpenStack RC File from the console. Login to 5centsCDN console. Go to Zones and select HTTP or VoD push zone. Click the Manage button of your push zone. On the","og:url":"https:\/\/www.5centscdn.net\/help\/how-to-upload-files-to-openstack-swift-using-curl\/","og:image":"https:\/\/www.5centscdn.net\/help\/wp-content\/uploads\/2024\/01\/Logo.png?wsr","og:image:secure_url":"https:\/\/www.5centscdn.net\/help\/wp-content\/uploads\/2024\/01\/Logo.png?wsr","og:image:width":160,"og:image:height":58,"article:published_time":"2022-01-09T15:29:32+00:00","article:modified_time":"2026-03-12T17:54:33+00:00","article:publisher":"https:\/\/facebook.com\/5centscdn","twitter:card":"summary_large_image","twitter:site":"@5centscdn","twitter:title":"How to upload files to OpenStack Swift using curl? - 5centsCDN Help Center","twitter:description":"This article explains the steps to upload files to Open Stack Swift using curl. Please follow the steps. The first step is to download the OpenStack RC File from the console. Login to 5centsCDN console. Go to Zones and select HTTP or VoD push zone. Click the Manage button of your push zone. On the","twitter:creator":"@5centscdn","twitter:image":"https:\/\/www.5centscdn.net\/help\/wp-content\/uploads\/2024\/01\/Logo.png?wsr"},"aioseo_meta_data":{"post_id":"733","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"seo_analyzer_scan_date":"2026-03-12 21:17:23","breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"open_ai":null,"ai":null,"created":"2026-03-07 21:44:29","updated":"2026-03-12 21:17:23"},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t<a href=\"https:\/\/www.5centscdn.net\/help\" title=\"Home\">Home<\/a>\n<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t<a href=\"https:\/\/www.5centscdn.net\/help\/kb\/v4\/zones\/http-push\/cloud-storage\/\" title=\"Cloud Storage\">Cloud Storage<\/a>\n<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\tHow to upload files to OpenStack Swift using curl?\n<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.5centscdn.net\/help"},{"label":"Cloud Storage","link":"https:\/\/www.5centscdn.net\/help\/kb\/v4\/zones\/http-push\/cloud-storage\/"},{"label":"How to upload files to OpenStack Swift using curl?","link":"https:\/\/www.5centscdn.net\/help\/how-to-upload-files-to-openstack-swift-using-curl\/"}],"_links":{"self":[{"href":"https:\/\/www.5centscdn.net\/help\/wp-json\/wp\/v2\/posts\/733","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.5centscdn.net\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.5centscdn.net\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.5centscdn.net\/help\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.5centscdn.net\/help\/wp-json\/wp\/v2\/comments?post=733"}],"version-history":[{"count":1,"href":"https:\/\/www.5centscdn.net\/help\/wp-json\/wp\/v2\/posts\/733\/revisions"}],"predecessor-version":[{"id":2624,"href":"https:\/\/www.5centscdn.net\/help\/wp-json\/wp\/v2\/posts\/733\/revisions\/2624"}],"wp:attachment":[{"href":"https:\/\/www.5centscdn.net\/help\/wp-json\/wp\/v2\/media?parent=733"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.5centscdn.net\/help\/wp-json\/wp\/v2\/categories?post=733"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.5centscdn.net\/help\/wp-json\/wp\/v2\/tags?post=733"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}