Download pictures from your API

  • Dor
    Asked on June 18, 2021 at 11:41 AM

    Hi JotForm customer service,

    I'm working on a project with your platform, I created a form where submitters need to submit their answers with images attached.

    I'm now coding a script that will help me manage it, but I can't find in your API documentation anything related to how to download the images with your API.

    At the moment I can copy paste the link in the browser and the download of the images will start right away, but if I'm using this link in incognito mode / after logging out from my account - I'll get error 404 from your server.

    Can you please advice on the best steps to receive the pictures from JotForm?

    All the best,

    Dor

  • Anthony_Evans
    Replied on June 18, 2021 at 6:03 PM

    Howdy Dor,

    The JotForm API can't download a file to your system. It provides the URL to download the file, however the actual method used will depend on how you're creating your program. Could you please provide more information about the language and any other tools you're using to create your script?

    If the account that the images were uploaded to has the Require log-in to view uploaded files option enabled, then you will not be able to download the files without being logged in. Please refer to this guide for steps to disable that option.

    Thank you for your understanding.


  • Dor_APInation
    Replied on June 22, 2021 at 12:57 PM

    Thank you for your answer anthony, worked!