How to upload large objects?


Swift has a size limit of 5GB per object, to upload larger objects one needs to use the --segment-size option.

Using Swift Tool

  • Install the Swift command Line Client
         1. Install openstack client. You can refer the detail link as below:
         2. Install swift client as following command:
         sudo pip install python-swiftclient
  • Upload and download large file using swift

               Use the --segment-size option to specify the segment size when upload large file.

               For example:

               swift upload test_container --segment-size 1073741824 large_file

               The following swift command would download the entire large object.

               swift download test_container large_file

       Refer to: https:

Was this article helpful?
0 out of 0 found this helpful



Please sign in to leave a comment.