What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    Filepicker widget: Amazon S3 integration uploading all files in one folder?

    Asked by Mattbrant on August 13, 2015 at 04:26 AM

    I've set up the filepicker widget on my form to collect customers images, but all of the entries into my Amazon s3 bucket get saved into the same folder. I was wondering if there is a way to save each customers uploads into separate folders in my s3 bucket?

     

    any help would be appreciated.

    Thanks,

    Matt 

    Page URL:
    http://prontaprintdarlington.webflow.io/test-page

    uploads saved thanks s3 bucket
  • Profile Image

    Answered by Sammy on August 13, 2015 at 05:54 AM

    You can use the submission if so as to create unique folders for each submissions

    try adding the {id} tag in your upload path as follows

    Lets us know if this works

     

  • Profile Image

    Answered by Mattbrant on November 02, 2015 at 11:43 AM

    Hi Sammy,

    I just tried this and it has not worked unfortunately, it does create a file in my S3 called {id} but it then saves all of the images from all submissions into this folder! Do you have any other suggestions?

     

  • Profile Image
    JotForm Support

    Answered by Charlie on November 02, 2015 at 02:58 PM

    Hi,

    If I am not mistaken, you would like to have one folder for each submission, this means customer 1 will have it's own folder will all of the file uploads, is that correct?

    You might be missing the "/" on the end of the path.

    Could you try this one instead:

    JotForm/{formID}/{id}/

    It will then create a folder with the submission ID. Let us know if that helps.

  • Profile Image

    Answered by Mattbrant on November 03, 2015 at 04:59 AM

    Hi Charlie, that's exactly what I want to happen.

    I tried adding the "/" at the end and I still get the same result, it just creates a folder called ID and then all submissions get saved to that folder from different customers.

    It also uploads all of the pictures to the S3 bucket before the submit button is pressed on the Jotform, not sure if that has anything to do with it but here is the link to the form:

    https://form.jotformeu.com/Mattbrant/uploader

    Here is the image of the path in my S3 bucket viewer:

  • Profile Image
    JotForm Support

    Answered by Charlie on November 03, 2015 at 08:25 AM

    Apologies for the inconvenience.

    I do not have an Amazon Simple Storage account to test this, but I will forward this to our developers to have it checked. So basically, the uploaded files are being uploaded on only one folder? I'm not sure if this is how the Filepicker and Amazon S3 was designed.

    We will update you on this thread when we receive confirmation from our developers.

  • Profile Image

    Answered by Mattbrant on November 03, 2015 at 08:48 AM

    Yes that's correct Charlie, I'll keep an eye out for updates on this thread, thank's for your help.

    Matt

  • Profile Image
    JotForm Support

    Answered by Charlie on November 03, 2015 at 09:56 AM

    Thank you for the confirmation and understanding.

    I'll inform you as soon as we get an update on this.

  • Profile Image
    JotForm Support

    Answered by widgets on November 06, 2015 at 02:17 PM

    Hi, there is no such thing as {id} keyword or if you think this will create a named folder like {formID}. It will just end up creating another folder called {id} inside formid({formID}) folder. I'm sorry but only the special string {formID} is available.

    We will look into this and provide you a better way for nesting your folders for each every submission. We'll update this thread once we have something.

    Thanks,
    Widget Team