Last updated on: 2016-04-19
Authored by: Stephanie Fillmon
If you are interested in developing against the Rackspace Large File Support code to incorporate into your application, you should work directly with the Cloud Files API.
Note: If you prefer to use the Swift tool, see Use Swift to manage large files, and if you prefer Swiftly, see Use Swiftly to upload an image.
Use the following steps:
Upload the segments:
curl -X PUT -H 'X-Auth-Token: <token>' \
https://<storage_url>/container/myobject/1 --data-binary '1'
curl -X PUT -H 'X-Auth-Token: <token>' \
https://<storage_url>/container/myobject/2 --data-binary '2'
curl -X PUT -H 'X-Auth-Token: <token>' \
https://<storage_url>/container/myobject/3 --data-binary '3'
Create the manifest file:
curl -X PUT -H 'X-Auth-Token: <token>' \
-H 'X-Object-Manifest: container/myobject/' \
https://<storage_url>/container/myobject --data-binary ''
Download the segments as a single object:
curl -H 'X-Auth-Token: <token>' \
https://<storage_url>/container/myobject
©2020 Rackspace US, Inc.
Except where otherwise noted, content on this site is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License