cancel
Showing results for 
Search instead for 
Did you mean: 

File size for Multi Part upload

Joseph_Onderak1
Champ in-the-making
Champ in-the-making

The EP3 upload document Documentation says if we want a 130mb file using a 10mb buffer. We should give the following request

Content-Type: application/json

 

{

  "fileExtension": "jpg",

  "fileSize": "100000000"

}

 

When I add the following

{
  "fileExtension": "pdf",
  "fileSize": "26000000"
}
 
I get a following response
{
    "filePartSize": 26000000,
    "id": "47269f09-ba59-4719-84c3-fecb65c15774",
    "numberOfParts": 1
}
 
is there a way to "chunk" this so the request of
{
  "fileExtension": "pdf",
  "fileSize": "26000000"
}
 
returns 26? (1mb buffer)?
1 REPLY 1

Justin_Carlson
Employee
Employee

There currently is no way to "request" or specify the number of parts you would prefer I don't think. The initial response that includes the filePartSize and numberOfParts must be used/respected. I believe this is because the temporary file storage service which is being utilized could be backed by different types of storage media, and depending on the storage media that could determine the capabilities of chunking the files on the server. This is why the API responds with that information rather then let the developer determine the chunk size.