“File type Zip archive (application/zip) is not supported” when opening a .pdf file





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







10















I received a .pdf file from someone on a non-linux machine and when i try to open it it says "Unable to open document. File type Zip archive (application/zip) is not supported". So, I rename it "file.pdf.zip" and open it up with unzip. I then get a zipped folder with a file named "[Content_Types].xml and 3 folders (docProps, _rels, word) with various files inside. None of them are a useable .pdf file.



When I send it back to someone on a non-Linux they can view it fine so I know it isn't corrupted. I need to view the .pdf on my Linux machine. How do I do that?



Note, most .pdf's I receive open fine, just certain ones don't work.










share|improve this question


















  • 1





    Note that in Linux, the last few characters of the filename is only used by a small minority of programs for discerning the filetype - they're entirely optional, so renaming it ".zip" wasn't needed. Most programs use magic numbers, which is the first few bytes of data in the file itself. Other OSs have used other mechanisms: Mac used to use forks, with a "data fork" for the main payload and a "resource fork" for metadata, AmigaOS used ".info" metadata files; while VMS went much farther than DOS in encoding devices, and versions into the filename.

    – Rich
    May 18 at 0:52













  • @Rich: A small minority of programs, including the graphical file browser, you mean.

    – Kevin
    May 18 at 18:59


















10















I received a .pdf file from someone on a non-linux machine and when i try to open it it says "Unable to open document. File type Zip archive (application/zip) is not supported". So, I rename it "file.pdf.zip" and open it up with unzip. I then get a zipped folder with a file named "[Content_Types].xml and 3 folders (docProps, _rels, word) with various files inside. None of them are a useable .pdf file.



When I send it back to someone on a non-Linux they can view it fine so I know it isn't corrupted. I need to view the .pdf on my Linux machine. How do I do that?



Note, most .pdf's I receive open fine, just certain ones don't work.










share|improve this question


















  • 1





    Note that in Linux, the last few characters of the filename is only used by a small minority of programs for discerning the filetype - they're entirely optional, so renaming it ".zip" wasn't needed. Most programs use magic numbers, which is the first few bytes of data in the file itself. Other OSs have used other mechanisms: Mac used to use forks, with a "data fork" for the main payload and a "resource fork" for metadata, AmigaOS used ".info" metadata files; while VMS went much farther than DOS in encoding devices, and versions into the filename.

    – Rich
    May 18 at 0:52













  • @Rich: A small minority of programs, including the graphical file browser, you mean.

    – Kevin
    May 18 at 18:59














10












10








10


1






I received a .pdf file from someone on a non-linux machine and when i try to open it it says "Unable to open document. File type Zip archive (application/zip) is not supported". So, I rename it "file.pdf.zip" and open it up with unzip. I then get a zipped folder with a file named "[Content_Types].xml and 3 folders (docProps, _rels, word) with various files inside. None of them are a useable .pdf file.



When I send it back to someone on a non-Linux they can view it fine so I know it isn't corrupted. I need to view the .pdf on my Linux machine. How do I do that?



Note, most .pdf's I receive open fine, just certain ones don't work.










share|improve this question














I received a .pdf file from someone on a non-linux machine and when i try to open it it says "Unable to open document. File type Zip archive (application/zip) is not supported". So, I rename it "file.pdf.zip" and open it up with unzip. I then get a zipped folder with a file named "[Content_Types].xml and 3 folders (docProps, _rels, word) with various files inside. None of them are a useable .pdf file.



When I send it back to someone on a non-Linux they can view it fine so I know it isn't corrupted. I need to view the .pdf on my Linux machine. How do I do that?



Note, most .pdf's I receive open fine, just certain ones don't work.







pdf zip






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked May 17 at 22:07









NothingbetterNothingbetter

1534




1534








  • 1





    Note that in Linux, the last few characters of the filename is only used by a small minority of programs for discerning the filetype - they're entirely optional, so renaming it ".zip" wasn't needed. Most programs use magic numbers, which is the first few bytes of data in the file itself. Other OSs have used other mechanisms: Mac used to use forks, with a "data fork" for the main payload and a "resource fork" for metadata, AmigaOS used ".info" metadata files; while VMS went much farther than DOS in encoding devices, and versions into the filename.

    – Rich
    May 18 at 0:52













  • @Rich: A small minority of programs, including the graphical file browser, you mean.

    – Kevin
    May 18 at 18:59














  • 1





    Note that in Linux, the last few characters of the filename is only used by a small minority of programs for discerning the filetype - they're entirely optional, so renaming it ".zip" wasn't needed. Most programs use magic numbers, which is the first few bytes of data in the file itself. Other OSs have used other mechanisms: Mac used to use forks, with a "data fork" for the main payload and a "resource fork" for metadata, AmigaOS used ".info" metadata files; while VMS went much farther than DOS in encoding devices, and versions into the filename.

    – Rich
    May 18 at 0:52













  • @Rich: A small minority of programs, including the graphical file browser, you mean.

    – Kevin
    May 18 at 18:59








1




1





Note that in Linux, the last few characters of the filename is only used by a small minority of programs for discerning the filetype - they're entirely optional, so renaming it ".zip" wasn't needed. Most programs use magic numbers, which is the first few bytes of data in the file itself. Other OSs have used other mechanisms: Mac used to use forks, with a "data fork" for the main payload and a "resource fork" for metadata, AmigaOS used ".info" metadata files; while VMS went much farther than DOS in encoding devices, and versions into the filename.

– Rich
May 18 at 0:52







Note that in Linux, the last few characters of the filename is only used by a small minority of programs for discerning the filetype - they're entirely optional, so renaming it ".zip" wasn't needed. Most programs use magic numbers, which is the first few bytes of data in the file itself. Other OSs have used other mechanisms: Mac used to use forks, with a "data fork" for the main payload and a "resource fork" for metadata, AmigaOS used ".info" metadata files; while VMS went much farther than DOS in encoding devices, and versions into the filename.

– Rich
May 18 at 0:52















@Rich: A small minority of programs, including the graphical file browser, you mean.

– Kevin
May 18 at 18:59





@Rich: A small minority of programs, including the graphical file browser, you mean.

– Kevin
May 18 at 18:59










1 Answer
1






active

oldest

votes


















18














This is not a PDF file. This is a Word document. (Well, it's an “Office Open XML” document, but it's Microsoft's format.) These files are zip files under the hood, but the individual files contained in the zip don't make sense on their own.



The person who sent it probably made a mistake when they tried to save it as a PDF, and just renamed the file instead of converting it to PDF. If it's practical, let them know that they actually sent a Word document and try to get them to give you a PDF instead.



You can open Word documents in LibreOffice. Try renaming the file to .docx and your system will probably do that automatically. Usually you can see the text and some of the formatting, but the compatibility is far from perfect. Some elements may be missing or misplaced.






share|improve this answer


























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "106"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f519591%2ffile-type-zip-archive-application-zip-is-not-supported-when-opening-a-pdf-f%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    18














    This is not a PDF file. This is a Word document. (Well, it's an “Office Open XML” document, but it's Microsoft's format.) These files are zip files under the hood, but the individual files contained in the zip don't make sense on their own.



    The person who sent it probably made a mistake when they tried to save it as a PDF, and just renamed the file instead of converting it to PDF. If it's practical, let them know that they actually sent a Word document and try to get them to give you a PDF instead.



    You can open Word documents in LibreOffice. Try renaming the file to .docx and your system will probably do that automatically. Usually you can see the text and some of the formatting, but the compatibility is far from perfect. Some elements may be missing or misplaced.






    share|improve this answer






























      18














      This is not a PDF file. This is a Word document. (Well, it's an “Office Open XML” document, but it's Microsoft's format.) These files are zip files under the hood, but the individual files contained in the zip don't make sense on their own.



      The person who sent it probably made a mistake when they tried to save it as a PDF, and just renamed the file instead of converting it to PDF. If it's practical, let them know that they actually sent a Word document and try to get them to give you a PDF instead.



      You can open Word documents in LibreOffice. Try renaming the file to .docx and your system will probably do that automatically. Usually you can see the text and some of the formatting, but the compatibility is far from perfect. Some elements may be missing or misplaced.






      share|improve this answer




























        18












        18








        18







        This is not a PDF file. This is a Word document. (Well, it's an “Office Open XML” document, but it's Microsoft's format.) These files are zip files under the hood, but the individual files contained in the zip don't make sense on their own.



        The person who sent it probably made a mistake when they tried to save it as a PDF, and just renamed the file instead of converting it to PDF. If it's practical, let them know that they actually sent a Word document and try to get them to give you a PDF instead.



        You can open Word documents in LibreOffice. Try renaming the file to .docx and your system will probably do that automatically. Usually you can see the text and some of the formatting, but the compatibility is far from perfect. Some elements may be missing or misplaced.






        share|improve this answer















        This is not a PDF file. This is a Word document. (Well, it's an “Office Open XML” document, but it's Microsoft's format.) These files are zip files under the hood, but the individual files contained in the zip don't make sense on their own.



        The person who sent it probably made a mistake when they tried to save it as a PDF, and just renamed the file instead of converting it to PDF. If it's practical, let them know that they actually sent a Word document and try to get them to give you a PDF instead.



        You can open Word documents in LibreOffice. Try renaming the file to .docx and your system will probably do that automatically. Usually you can see the text and some of the formatting, but the compatibility is far from perfect. Some elements may be missing or misplaced.







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited May 17 at 22:16

























        answered May 17 at 22:14









        GillesGilles

        558k13411451656




        558k13411451656






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Unix & Linux Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f519591%2ffile-type-zip-archive-application-zip-is-not-supported-when-opening-a-pdf-f%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            He _____ here since 1970 . Answer needed [closed]What does “since he was so high” mean?Meaning of “catch birds for”?How do I ensure “since” takes the meaning I want?“Who cares here” meaningWhat does “right round toward” mean?the time tense (had now been detected)What does the phrase “ring around the roses” mean here?Correct usage of “visited upon”Meaning of “foiled rail sabotage bid”It was the third time I had gone to Rome or It is the third time I had been to Rome

            Bunad

            Færeyskur hestur Heimild | Tengill | Tilvísanir | LeiðsagnarvalRossið - síða um færeyska hrossið á færeyskuGott ár hjá færeyska hestinum