Use the API to manage large files
If you are interested in developing by using 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
Use the Feedback tab to make any comments or ask questions. You can also start a conversation with us.
Updated about 1 year ago