how do i download all the uploaded files?

  • uwaecm
    Asked on April 10, 2017 at 3:44 AM
  • Sven
    Replied on April 10, 2017 at 4:01 AM

    You can make use of our File Downloader app, it requires a few steps to set up, but it will achieve what you're looking for. 

    Please follow the steps below to have set up:

    1. First, you will need to have ruby installed on your machine. It is most likely pre-installed on Mac/Linux, but you will have to manually install it for Windows, to install Ruby on Windows, you need to download the installer here:

    http://rubyinstaller.org/

    Once the installation is done, you can check if the installation was successful by running the code below in the command prompt:

    ruby -v

    2. You can then download downloadUploadedFiles.rb JotForm.rb and put them all together in one folder. You can get the files here: https://github.com/jotform/api-use-cases/tree/master/ruby-uploaded-files-downloader .

     

    3. The final step is to open your command prompt, navigate to the folder with the script files, and run the following command:

    ruby downloadUploadedFiles.rb {apiKey} {formID

    Where {apiKey} is your JotForm Account API Key and {formID} is the ID of the form where the uploaded files are taken from.

     

    Thank you.