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

    Can I retrieve an uploaded file on my site?

    Asked by raduz on March 03, 2013 at 04:58 PM

    My form has a file upload field. I set up "thank you" page to redirect to my site.

    When the user uploads a file, it is indeed uploaded to jotformeu.com (I get an email with the URL). Then, the page on my site receives a POST call containing a field with the local name of the file (I enabled Send Post Data) but no file data. Is there any way to get the actual file or at least its url on jotformeu so I can get it using curl?

    My site is coded in PHP so I would normally expect the file in $_FILES array, although I am aware that the submission target is jotformeu.com, not my site

    Page URL:
    karsticum.com/testff

    site upload field email POST uploads post data
  • Profile Image
    JotForm Support

    Answered by jonathan on March 03, 2013 at 06:25 PM

    Hi,

    When uploaded, it is indeed uploaded to the JotForm server (the URL in the email confirmed you this). 

    To be able to get the uploaded files into your website, you can do the ff:

    1. Integrate your upload form to the ff: integration features 

    FTP

    Dropbox

    Google Drive

    2. Since the upload is integrated on any of those 3 suggested interface, you can then point your website to read the directory folder where the files are uploaded. Since you surely have an account to use this 3 features you can then access the file directory and lists in your page the file contents.

    *** You cannot do the file directory read on the JotForm server since it is not allowed.

    In my personal preference, I would go for the FTP method since it will be in my website file server also, and I do not have to use 3rd party services like dropbox and google drive.

    Hope this help. Inform us if you have further inquiry.

    Thanks.

  • Profile Image

    Answered by khrisell on July 04, 2013 at 07:32 PM
    Greetings!

    We are happy to announce that we have released Jotform Webhooks,  this feature would replace Send Post Data + Custom URL Thank You Page workaround in order to help you transfer forms data to your own database using your own script codes.

    To know more about Jotform Webhooks, please click here.

     

    Thank you for using JotForm. :)