File Upload -- can't read file

  • Profile Image
    lpmsptsa
    Asked on October 19, 2010 at 02:49 PM

    Someone attached a file to one of my forms using my File Upload button, and I received an email with the link to the file in it, but when I click on the link I get:

    "This XML file does not appear to have any style information associated with it. The document tree is shown below."

    I also tried viewing the file from within my JotForm account, but same result.  How do I get the file?  Thanks.

  • Profile Image
    aytekin
    Answered on October 20, 2010 at 01:28 PM

    We are looking into this issue. Do you still have this problem or did it only happen on 19th?

  • Profile Image
    kkeene
    Answered on October 21, 2010 at 12:21 PM

    I am having this problem too...

    I hope you can fix it.

  • Profile Image
    kkeene
    Answered on October 21, 2010 at 12:38 PM

    I tried a submission with a .docx, and it did not work. I just tried with a .doc, and it worked flawlessly.

  • Profile Image
    aytekin
    Answered on October 21, 2010 at 02:41 PM

    kkeene: Your problem is different. You need to add docx type to the list of allowed file types for that upload field.

    http://www.jotform.com/help/29-Upload-Form-Allowed-File-Types

  • Profile Image
    kkeene
    Answered on October 27, 2010 at 12:07 PM

    No, it is not different. I have added the "docx" and the ".docx" and still have the same problem. I look at my submissions, open up one of them with a docx, click on the link for the docx, and a window pops up in my browser for download. I download, and it downloads as a .zip file. When I open the zip file, it has nothing but all these xml files, and no document.

  • Profile Image
    aytekin
    Answered on October 28, 2010 at 07:51 AM

    I think the browser does that. You should rename the .zip file to .docx, and it should open in MS Word.

  • Profile Image
    pridgeonandclay
    Answered on December 08, 2010 at 01:19 PM

    "I think the browser does that. You should rename the .zip file to .docx, and it should open in MS Word"

    @Aytekin - I've spent hours today looking into this problem as I am having the same problem with my docx files being downloaded as zip files. From what I've been told by our IT department as well as Googling the issue,  the cause of the problem is that the MIME type settings are not correct on the server hosting the files that are being attached to the forms - that would be the jotform server. It is the browser that is making the mistake but only because it hasn't been told via the MIME settings that it needs to download docx files as a Word document.

    Your solution to rename the file does work - however due to the nature of how we use our forms, we receive 100's of submissions everyday. Work flow and productivity works best when we "open" the file to see if it meets our requirements that would deem it worthy of keeping - if we did not do this we would have hundreds of files saved locally to our computers which is not ideal for us.

    It would appear that this is becoming a bigger problem these days as most of the trouble began with the update for IE8. Previous versions of IE didn't have this problem from what I can tell. Maybe Microsoft will create a patch for it soon but until that happens I really do hope that you guys look into getting it fixed on your end.

  • Profile Image
    aytekin
    Answered on December 09, 2010 at 06:40 AM

    Fixed now.

  • Profile Image
    pridgeonandclay
    Answered on December 09, 2010 at 06:48 AM

    Unfortunately, I'm still having same issue. File is downloading as zip - just tried it. : (

  • Profile Image
    NeilVicente
    Answered on June 11, 2011 at 04:29 AM

    @pridgeonandclay

    This problem is easily resolved by using other browsers aside from IE. This docx file for example, doesn't have any problems downloading with Google Chrome or Mozilla Firefox.


    Neil

  • Profile Image
    Kim
    Answered on June 12, 2011 at 11:44 AM

    If only I could get the 80+ percent of my users to not use IE ~:)  Not really a practical resolution.

  • Profile Image
    liyam
    Answered on June 12, 2011 at 11:58 AM

    Hello Kim,

    Are you experiencing any problems when downloading docx files?  So far I have tried it using IE8 and it came down to my computer without any problem.

    Please let us know if you are having any issues with your forms.

    Thanks,

    Liyam

  • Profile Image
    lpmsptsa
    Answered on June 12, 2011 at 02:33 PM

    No, I haven't tried lately to be honest.  I just felt that the suggested solution of not using IE isn't a realistic option when the vast majority of average users still use some version of IE.  I can't stand IE, but I always test my sites on it before going live since that is what most people use.

    Update:  OK, I just tested it and it worked fine.  Not a problem.  My point was that IE cannot be dismissed.

    - Kim

  • Profile Image
    NeilVicente
    Answered on June 12, 2011 at 05:29 PM

    Hi Kim,

    I do understand that IE cannot be dismissed, but like I said the problem is easily solved using other browsers. In Microsoft's own support forums, users have been complaining that the problem lies with the browser, yet Microsoft insists that it has something to do with the server's MIME type settings.

    Configuring the MIME type settings does fix the problem, but wouldn't it make easier for all web developers if MS launches an update to IE to mimic the way other browsers handle the downloading of the file?

    Your site's end users are not affected by this problem as they do not need to download docx files from your forms. Also, as webmasters, I think it would be beneficial if we stay off of IE when doing admin tasks and the likes. Just my two cents.

    Anyway, I have re-opened the support ticket associated with this thread to notify our developers about the recurrence of this problem. I ask for your patience as our dev team have their hands full these days. Rest assured though, we will have this fixed once and for all.

    Thank you for understanding and have a good one.


    Neil

     

    And oh, just FYI, Firefox is very close to beating IE in terms of market share :)

  • Profile Image
    Kim
    Answered on June 14, 2011 at 05:53 PM

    Firefox is nowhere near overtaking IE in either the corporate desktop, government desktop or the typical home user markets.  Only geeks like us are even beginning to close the gap.  See:

    http://www.upsdell.com/BrowserNews/stat.htm

    http://en.wikipedia.org/wiki/Usage_share_of_web_browsers

    I'm not an apologist or an evangelist for Microsoft, just looking at reality.  Personally, and as a web developer, I can't stand IE.  But non-technical home users are perfectly happy with whatever comes installed on their PC (i.e., IE) and, in fact, most don't even know there are options.  Even if they did know, many are so technophobic that they wouldn't want to "rock the boat" by installing something else for no apparent gain.  Larger corporations and goverment agencies have tightly controlled IT infrastructures that often prohibit users from using alternative browsers, and MS has controlled their desktops for a very long time.  Add up those three groups and you're talking about a very large market share.

  • Profile Image
    missla14
    Answered on September 09, 2011 at 11:41 AM

    I too am having the same error come up when trying to open a JPG image that was uploaded into the form. The weird part is that yesterday it was working. I would click on the link and it would open the photo just fine. Now I click on it and I get the "This XML file does not appear to have any style information associated with it. The document tree is shown below." error message. Any suggestions?

  • Profile Image
    NeilVicente
    Answered on September 09, 2011 at 11:48 AM

    @missle14

    I checked your account and could not find any submissions in the forms, although your account's status shows that you have received 5 submissions for this month so far.

    Did you delete your forms' submissions? If yes, then that's the reason why you cannot view the file uploaded to your form. When a submission entry is deleted, the file uploaded with it is also removed.


    Neil

  • Profile Image
    missla14
    Answered on September 09, 2011 at 11:52 AM

    Ahhh - that explains it! I was just doing some testing before I sent out the real forms - but didn't want to use up the storage space! Thanks for the help!