cancel
Showing results for 
Search instead for 
Did you mean: 

Marketo Bulk leads file download in chunks

sravankunadi
New Contributor II

I would like to split the Marketo download file size in batches. How do we iterate through the loop untill the file is complete

image

8 REPLIES 8

Were you able to get the filesize of the exportid that you are trying to download?

Here’s the api to get the filesize you are trying to download

image

Base from the file size you can then use Range as part of the GET request header in a multipart request or single request

Multipart request
image

or do an array of request
image
image

Prasa
New Contributor II

Multipart request is not working. Could you please help here. Screenshot attached.
image
image

alchemiz
Contributor III

Hi @Prasa,

Good day, I’m not sure how your marketo api is setup but here’s a quick reference regarding ranges

Regards,
MM

use “range” as this is a request header, I think “content-range” is a response header