Bulk download files in Design Studio | Community
Skip to main content
Level 4
April 1, 2019
Question

Bulk download files in Design Studio

  • April 1, 2019
  • 2 replies
  • 4753 views

Is there a way to bulk download/extract files in the Images and Files section of Design Studio?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

SanfordWhiteman
Level 10
April 1, 2019

Yes, in the sense that via the API you can traverse and download all uploaded files.

Via the UI there are only hacks to scrape the HTML and get all the URLs. (You can use a generic scraper plugin for your browser and get about the same degree of accuracy.)

Jayanto_Sukul_S
Level 2
April 1, 2019

Yes , you can only you need to provide the Folder id. via the Postman app. For reference, you can see the marketo developer url.

Sample : https://Your Marketo Instance Munchknid.mktorest.com/rest/asset/v1/files.json?folder={"id": Folder id, "type": "Folder"}&maxReturn=200

http://developers.marketo.com/rest-api/endpoint-reference/asset-endpoint-reference/#!/Files/getFilesUsingGET

Hope that helps!

SanfordWhiteman
Level 10
April 1, 2019

Well... you're oversimplifying quite a bit because if you want to get the files recursively, you have to keep track of the last page. In addition, you aren't actually downloading the file contents until you also GET the binaries.

Postman isn't really the tool for executing this job (though it is an essential tool for testing).

Jayanto_Sukul_S
Level 2
April 1, 2019

Thanks Sanford, yes need to track the last page,totally agree but via Postman able to extract and solution work for me.