“File type Zip archive (application/zip) is not supported” when opening a .pdf fileHow to know the path to a specific file in a zip archive, without extracting it?Zip does not compress files when zippingCan we preserve the timestamps of files when extracting .zip archive?Pdf reader that supports XFA forms (while Adobe Reader for Linux is not supported anymore)?“Mac-style” unzipping on linuxUnix way to extract vectorised image and its graph from a PDF file?How to exclude file when fixing a zip archiveHow to display bookmarks in the initial view when opening a PDF file?PDF metadata in file explorer columnWhy does libarchive's bsdtar's unzip throw away the permission bits when reading a ZIP-archive from stdin, but not directly?

How to provide realism without making readers think grimdark

How can I offer a test ride while selling a bike?

How can I determine the spell save DC of a monster/NPC?

Opposite of "Squeaky wheel gets the grease"

Restoring order in a deck of playing cards (II)

What's the most polite way to tell a manager "shut up and let me work"?

How should I push back against my job assigning "homework"?

Show sparse matrices like chessboards

Is there a rule that prohibits us from using 2 possessives in a row?

How to apply the "glow" effect to a rectangle with tcolorbox?

Can a magnetic field of a large body be stronger than its gravity?

How do I remove hundreds of automatically added network printers?

Responsibility for visa checking

Asking bank to reduce APR instead of increasing credit limit

How to split a string in two substrings of same length using bash?

Explain Ant-Man's "not it" scene from Avengers: Endgame

Why is Colorado so different politically from nearby states?

Rotated Position of Integers

Comma Code - Ch. 4 Automate the Boring Stuff

California: "For quality assurance, this phone call is being recorded"

What happens to foam insulation board after you pour concrete slab?

Is having a hidden directory under /etc safe?

What's the correct term for a waitress in the Middle Ages?

Is it possible for people to live in the eye of a permanent hypercane?



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


How to know the path to a specific file in a zip archive, without extracting it?Zip does not compress files when zippingCan we preserve the timestamps of files when extracting .zip archive?Pdf reader that supports XFA forms (while Adobe Reader for Linux is not supported anymore)?“Mac-style” unzipping on linuxUnix way to extract vectorised image and its graph from a PDF file?How to exclude file when fixing a zip archiveHow to display bookmarks in the initial view when opening a PDF file?PDF metadata in file explorer columnWhy does libarchive's bsdtar's unzip throw away the permission bits when reading a ZIP-archive from stdin, but not directly?






.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

        556k13411421651




        556k13411421651



























            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

            Club Baloncesto Breogán Índice Historia | Pavillón | Nome | O Breogán na cultura popular | Xogadores | Adestradores | Presidentes | Palmarés | Historial | Líderes | Notas | Véxase tamén | Menú de navegacióncbbreogan.galCadroGuía oficial da ACB 2009-10, páxina 201Guía oficial ACB 1992, páxina 183. Editorial DB.É de 6.500 espectadores sentados axeitándose á última normativa"Estudiantes Junior, entre as mellores canteiras"o orixinalHemeroteca El Mundo Deportivo, 16 setembro de 1970, páxina 12Historia do BreogánAlfredo Pérez, o último canoneiroHistoria C.B. BreogánHemeroteca de El Mundo DeportivoJimmy Wright, norteamericano do Breogán deixará Lugo por ameazas de morteResultados de Breogán en 1986-87Resultados de Breogán en 1990-91Ficha de Velimir Perasović en acb.comResultados de Breogán en 1994-95Breogán arrasa al Barça. "El Mundo Deportivo", 27 de setembro de 1999, páxina 58CB Breogán - FC BarcelonaA FEB invita a participar nunha nova Liga EuropeaCharlie Bell na prensa estatalMáximos anotadores 2005Tempada 2005-06 : Tódolos Xogadores da Xornada""Non quero pensar nunha man negra, mais pregúntome que está a pasar""o orixinalRaúl López, orgulloso dos xogadores, presume da boa saúde económica do BreogánJulio González confirma que cesa como presidente del BreogánHomenaxe a Lisardo GómezA tempada do rexurdimento celesteEntrevista a Lisardo GómezEl COB dinamita el Pazo para forzar el quinto (69-73)Cafés Candelas, patrocinador del CB Breogán"Suso Lázare, novo presidente do Breogán"o orixinalCafés Candelas Breogán firma el mayor triunfo de la historiaEl Breogán realizará 17 homenajes por su cincuenta aniversario"O Breogán honra ao seu fundador e primeiro presidente"o orixinalMiguel Giao recibiu a homenaxe do PazoHomenaxe aos primeiros gladiadores celestesO home que nos amosa como ver o Breo co corazónTita Franco será homenaxeada polos #50anosdeBreoJulio Vila recibirá unha homenaxe in memoriam polos #50anosdeBreo"O Breogán homenaxeará aos seus aboados máis veteráns"Pechada ovación a «Capi» Sanmartín e Ricardo «Corazón de González»Homenaxe por décadas de informaciónPaco García volve ao Pazo con motivo do 50 aniversario"Resultados y clasificaciones""O Cafés Candelas Breogán, campión da Copa Princesa""O Cafés Candelas Breogán, equipo ACB"C.B. Breogán"Proxecto social"o orixinal"Centros asociados"o orixinalFicha en imdb.comMario Camus trata la recuperación del amor en 'La vieja música', su última película"Páxina web oficial""Club Baloncesto Breogán""C. B. Breogán S.A.D."eehttp://www.fegaba.com

            Vilaño, A Laracha Índice Patrimonio | Lugares e parroquias | Véxase tamén | Menú de navegación43°14′52″N 8°36′03″O / 43.24775, -8.60070

            Cegueira Índice Epidemioloxía | Deficiencia visual | Tipos de cegueira | Principais causas de cegueira | Tratamento | Técnicas de adaptación e axudas | Vida dos cegos | Primeiros auxilios | Crenzas respecto das persoas cegas | Crenzas das persoas cegas | O neno deficiente visual | Aspectos psicolóxicos da cegueira | Notas | Véxase tamén | Menú de navegación54.054.154.436928256blindnessDicionario da Real Academia GalegaPortal das Palabras"International Standards: Visual Standards — Aspects and Ranges of Vision Loss with Emphasis on Population Surveys.""Visual impairment and blindness""Presentan un plan para previr a cegueira"o orixinalACCDV Associació Catalana de Cecs i Disminuïts Visuals - PMFTrachoma"Effect of gene therapy on visual function in Leber's congenital amaurosis"1844137110.1056/NEJMoa0802268Cans guía - os mellores amigos dos cegosArquivadoEscola de cans guía para cegos en Mortágua, PortugalArquivado"Tecnología para ciegos y deficientes visuales. Recopilación de recursos gratuitos en la Red""Colorino""‘COL.diesis’, escuchar los sonidos del color""COL.diesis: Transforming Colour into Melody and Implementing the Result in a Colour Sensor Device"o orixinal"Sistema de desarrollo de sinestesia color-sonido para invidentes utilizando un protocolo de audio""Enseñanza táctil - geometría y color. Juegos didácticos para niños ciegos y videntes""Sistema Constanz"L'ocupació laboral dels cecs a l'Estat espanyol està pràcticament equiparada a la de les persones amb visió, entrevista amb Pedro ZuritaONCE (Organización Nacional de Cegos de España)Prevención da cegueiraDescrición de deficiencias visuais (Disc@pnet)Braillín, un boneco atractivo para calquera neno, con ou sen discapacidade, que permite familiarizarse co sistema de escritura e lectura brailleAxudas Técnicas36838ID00897494007150-90057129528256DOID:1432HP:0000618D001766C10.597.751.941.162C97109C0155020