System Status
Buy Now
  • Rackspace Cloud
  • Email & Apps
  • Fanatical Support for AWS
  • Managed Google Cloud Platform
  • Office 365
Login
  • MyRackspace Portal
  • Cloud Control Panel
  • Rackspace Webmail Login
  • Cloud Office Control Panel
  • Support Home
  • How-To
  • Developer Documentation
  •  Blogs 
    • Technical Blog
    • Rackspace Blog
    • Solve: Thought Leadership

Support Network

End-to-End Multicloud Solutions.   Solving Together.â„¢   Learn more at Rackspace.com

How–To Home

Cloud Files

  • Introduction
  • FAQ
  • All Articles

Use the API to manage large files

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:

  1. 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'
    
  2. 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 ''
    
  3. Download the segments as a single object:

    curl -H 'X-Auth-Token: <token>' \
    
    https://<storage_url>/container/myobject
    

Share this information:

©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

See license specifics and DISCLAIMER

About Rackspace
  • About
  • Customer Stories
  • Events
  • Programs
Blogs
  • The Rackspace Blog
  • Technical Blog
  • Solve: Thought Leadership
  • News
  • Contact Information
  • Legal
  • Careers
Site Information
  • Style Guide for Technical Content
  • Trademarks
  • Privacy Statement
  • Website Terms
Support Network
  • Support Network Home
  • Rackspace How-To
  • API Documentation
  • Developer Center
  • ©2020 Rackspace US, Inc.