upload form issues

  • Profile Image
    Asked on June 25, 2011 at 02:10 AM

    I am creating a "file upload form that is specific to xml files.

    Two problems

    1. where do you input the upload directory?

    2. I want to have each new xml file overwrite the previous xml file of the same name.

    i.e. existing 246.xml will be overwritten by new 246.xml


    I have not completed form so no screenshot ot URL

  • Profile Image
    Answered on June 25, 2011 at 11:00 AM

    Hi DornB

    Thanks for asking. If you have a Dropbox account and choose to have submissions from the form in question sent to to the said account, the directory will be automatically created for you when the first submission from the form in question is sent. (If you don't have a Dropbox account, I highly recommend getting one, not just for JotForm purposes).

    After setting up the account, remain logged in to Dropbox then do the following in a separate browser tab or window to get the XML files automatically sent to the Dropbox directory:

    1. From the My Forms page, click the form in question and then the Submissions toolbar button

    2. Click the Properties icon (under Delete in the screenshot below - it looks like a little gear) and then click Send Submissions to DropBox:

    You will eventually see the following message:

    Send Submissions to DropBox will change to Manage Integration and selecting that will allow you to name the directory according to a field in the form.

    I believe that overwriting of existing files of the same name happens automatically but I'll have to check that later.

    Should you require additional assistance on this or any other form related matter, please feel free to ask. Our team will gladly help where we can.


    ~ Wayne

  • Profile Image
    Answered on June 25, 2011 at 04:49 PM
    Thanks Abajan,
    The dropbox method will not work for my purpose. I did; however get it to
    upload to my chosen directory via ftp.
    The issue I now have is duplication and an added PDF file.
    Instead of the desired file (www.mysite.com/upload/newfile.xml) I get:
    (www.mysite.com/upload/17484320270688162/newfile.xml) plus;
    an added 17484320270688162.pdf containing time, date, file name etc.

    If I upload the same file again, it does NOT overwrite the first file but
    adds an identical file. Same number (assumed client id) with updated PDF.
    at this point my goal is to have a permanent titled xml file that will
    overwrite the previous file of the same name.

    Any thoughts?
    Do you need anything from me to assess?


    I love your program. My best wishes for success.



  • Profile Image
    Answered on June 30, 2011 at 05:15 AM

    Unfortunately, it is not possible to define a single location and overwrite that location. The FTP integration is not designed for that purpose. You will need to manually do that part.