# Adding very large objects to a project's Cloud Object Storage #

The amount of data you can load to a project's Cloud Object Storage at any one time depends on where you load the data from\. If you are loading the data in the product UI, the limit is 5 GB\. To add larger objects to a project's Cloud Object Storage, you can use an API or an FTP client\.

<!-- <ul> -->

 *  [The Cloud Object Storage API](https://dataplatform.cloud.ibm.com/docs/content/wsj/manage-data/store-large-objs-in-cos.html?context=cdpaas&locale=en#api)
 *  An FTP client
 *  [The IBM Cloud Object Storage Python SDK](https://github.com/IBM/ibm-cos-sdk-python) (in case you can't use an FTP client)

<!-- </ul> -->

## Load data in multiple parts by using the Cloud Object Storage API ##

With the Cloud Object Storage API, you can load data objects as large as 5 GB in a single PUT, and objects as large as 5 TB by loading the data into object storage as a set of parts which can be loaded independently in any order and in parallel\. After all of the parts have been loaded, they are presented as a single object in Cloud Object Storage\.

You can load files with these formats and mime types in multiple parts:

<!-- <ul> -->

 *  application/xml
 *  application/pdf
 *  text/plain; charset=utf\-8

<!-- </ul> -->

To load a data object in multiple parts:

<!-- <ol> -->

1.  Initiate a [multipart load](https://cloud.ibm.com/docs/services/cloud-object-storage/basics?topic=cloud-object-storage-store-very-large-objects#initiate-a-multipart-upload):

<!-- </ol> -->

    curl -X "POST" "https://(endpoint)/(bucket-name)/(object-name)?uploads"
     -H "Authorization: bearer (token)"

The values for `bucket-name` and `token` are on the project's **General** page on the **Manage** tab\. Click **Manage in IBM Cloud** on the Watson Studio for the endpoint value\.

<!-- <ol> -->

1.  Load the parts by specifying arbitrary sequential part numbers and an UploadId for the object:

<!-- </ol> -->

    curl -X "PUT" "https://(endpoint)/(bucket-name)/(object-name)?partNumber=(sequential-integer)&uploadId=(upload-id)"
     -H "Authorization: bearer (token)"
     -H "Content-Type: (content-type)"

Replace`content-type` with `application/xml`, `application/pdf` or `text/plain; charset=utf-8`\.

<!-- <ol> -->

1.  Complete the multipart load:

<!-- </ol> -->

    curl -X "POST" "https://(endpoint)/(bucket-name)/(object-name)?uploadId=(upload-id)"
     -H "Authorization: bearer (token)"
     -H "Content-Type: text/plain; charset=utf-8"
     -d \$'<CompleteMultipartUpload>
             <Part>
               <PartNumber>1</PartNumber>
               <ETag>(etag)</ETag>
             </Part>
             <Part>
               <PartNumber>2</PartNumber>
               <ETag>(etag)</ETag>
             </Part>

<!-- <ol> -->

1.  Add your file to the project as an asset\. From the **Assets** page of your project, click the **Upload asset to project** icon\. Then, from the **Files** pane, click the action menu and select **Add as data set**\.

<!-- </ol> -->

## Next steps ##

<!-- <ul> -->

 *  [Refining the data](https://dataplatform.cloud.ibm.com/docs/content/wsj/refinery/refining_data.html)
 *  [Analyzing the data and building models](https://dataplatform.cloud.ibm.com/docs/content/wsj/analyze-data/data-science.html)

<!-- </ul> -->

## Learn more ##

<!-- <ul> -->

 *  [Storing very large objects in Cloud Object Storage](https://cloud.ibm.com/docs/services/cloud-object-storage/basics?topic=cloud-object-storage-store-very-large-objects#store-very-large-objects)
 *  [Using curl to store very large objects](https://cloud.ibm.com/docs/services/cloud-object-storage/cli?topic=cloud-object-storage-using-curl-#using-curl-)

<!-- </ul> -->

**Parent topic:**[Adding connections to projects](https://dataplatform.cloud.ibm.com/docs/content/wsj/manage-data/create-conn.html)

<!-- </article "role="article" "> -->