Wix Help Center

    WiX renames PDF files! - bug

    Ticket by chipcoreman | September 2, 2014 | Known Bug
    • When I download a pdf file that I have uploaded, the d/l popup prompt shows WiX has renamed it to a nonsensical filename -- the browser status bar also shows the garbled filename upon button/link mouseover.

      The docx filenames, for example, do not get molested by WiX, as they shouldn't.

      I had this pdf bug happen in FireFox, Chrome and IE (latest Windows 8.x versions each).

    Replies (7)

    • Reply from Alissa | September 2, 2014

      Hi,

      Thank you for contacting Wix support.

      Please note that once you upload pdf files, those files are renamed. I can see that you're currently using Firefox. What you can do is to download the pdf reader plugin for Firefox (also exists for other browsers by the way), which means that you files will not be downloaded, but rather open in an additional tab in your browser. The name however still won't appear anywhere. 

      Please do not hesitate to contact us again should you require any further assistance. 

      Alissa - Wix Support
    • Reply from chipcoreman | September 3, 2014

      er.. yes, I noticed they get renamed upon upload to your server.  That's the point of the original post.

      I've been using the Foxit plugin for years.  The filename does appear in the plugin, on both the menu bar and the document tab.

      The issue is that users download the documents to their local drives, not merely read them online.  Until WiX fixes this, users are forced to manually rename the files so the filenames will make sense on their local drives when they go looking for them later.  This is also the case when saving from the browser reader.

      I'm baffled as to why pdf's are intentionally renamed upon upload in the first place.  Is this some kind of Adobe rule or restriction placed on WiX?

    • Reply from BenjaminB | September 3, 2014

      Hi,

      When you upload a file to your WIX media gallery, the file will receive a new filename.  This is to avoid potential filename issues with other users trying to upload files using the same filename.

      Just like on your local machine, each file must have a unique filename, so to, when uploading to WIX' media gallery servers, each file must have a unique filename to avoid potential issues.

      Benny

    • Reply from chipcoreman | September 7, 2014

      er.. Isn't each user allotted independent drive space for their account?

      If so, then files uploaded by a user shouldn't end up in a folder pool.

      This also doesn't explain why docx files and image files are unaffected.  It only happens with pdf's AFAICT.


    • Reply from Gat | September 7, 2014

      Hi,

      I apologize for the inconvenience.

      Unfortunately as explained, files uploaded to Wix media gallery servers will get renamed. It is not a bug but how we keep things in order.

      We are here to assist you if you have any further questions.

      Kind regards,

      Gat Wix Team.
    • Reply from chipcoreman | September 8, 2014

      Semantics.  You don't want to call it a bug, then it's a coding oversight.  The fact remains that .docx files are not affected as are .pdf files when it comes to a user downloading them from a WiX site.

      Example (minus http prefix due to WiX post editor forcing a url string and snipping the end).

      media.wix.com/ugd/35ce93_2bd517a5c69748518ad7e2f553c3cfd6.docx?dn="file1.docx"

      and

      media.wix.com/ugd/35ce93_550439b8778148c5a6cbfb9ddbcc3cf4.pdf

      Both files were uploaded with the exact same "file1" name, but with different formats and extensions.  See the difference?  I'm sure you'll agree "file1" would be a pretty common filename.  So, they both get coded/renamed -- for database management purposes I presume.  That's taking a leap of faith and assuming WiXserver(s) bothered to have a unique FOLDER structure per account.

      Think about it.  A person can have an unlimited number of files with the exact same name on a local drive, IF each identically named file is stored in a different folder or subfolder.  I hope you folks aren't seriously trying to tell me that WiX uses a single folder/area to store every incoming file from its millions of users and that's the reason every filename must be altered so as to avoid a filename conflict.  I sure hope that's not how WiX server is designed.  wow...

      At any rate, in this example, when a link/button on the site is clicked which has the "file1.docx" file associated with it, "file1.docx" comes up in the browser prompt SHOWN AS and is SAVED AS THAT EXACT FILENAME.  The user need not alter the filename prior to saving.  I don't know how that can be stated more clearly.

      Now, when a link/button on the site is clicked which has the "file1.pdf" file associated with it, what comes up in the browser prompt (for download or viewing, doesn't matter) is instead the coded "550439b8778148c5a6cbfb9ddbcc3cf4.pdf" name, which obviously requires user alteration of the filename if they want to save it on their local drive as a meaningful filename.

      That's the difference, and, again, .pdf files are affected while .docx and others work properly.  If it's a matter of failure to auto-append the uploaded filename suffix to the url source string, that's obviously a super easy fix for devs.

      No biggie really, I'll just use other formats for files, because downloading THOSE works properly, and everyone at WiX can continue to be in denial.

      Have a nice day..

    • Reply from rotemc | September 8, 2014

      Hi, 

      Thank you for the elaborate response and for the feedback. 

      Unfortunately this isn't possible at the moment. The difference between *.docx files and *.pdf files is by design. 

      We document and learn from every feature request and bug brought to our attention. These objectives are immediately high priority milestones in Wix's product road map.


      To read about our feature updates, please click here.

      Rotem, Wix Support Team