Displaying PDFs
I have some PDFs that have been residing on a Windows machine. These display quite nicely from a VM web server. The PC is going to be sent to the junk heap and not replaced. What hoops do I need to jump through to move the PDFs to a CMS Mdisk or SFS directory? I have tried to FTP using several different specifications and each time I am greeted with a message telling me that the file does not begin with %PDF when I try to display a file. TIA, Richard Schuh
Re: Displaying PDFs
Did you do a BINARY file transfer? I serve PDF files from z/OS with no problems using BIN to transfer to a UNIX filesystem. Is that SFS or BFS on CMS? I forget, sorry. -- John McKown Senior Systems Programmer HealthMarkets Keeping the Promise of Affordable Coverage Administrative Services Group Information Technology This message (including any attachments) contains confidential information intended for a specific individual and purpose, and its content is protected by law. If you are not the intended recipient, you should delete this message and are hereby notified that any disclosure, copying, or distribution of this transmission, or taking any action based on it, is strictly prohibited. -Original Message- From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Schuh, Richard Sent: Tuesday, December 05, 2006 11:30 AM To: IBMVM@LISTSERV.UARK.EDU Subject: Displaying PDFs I have some PDFs that have been residing on a Windows machine. These display quite nicely from a VM web server. The PC is going to be sent to the junk heap and not replaced. What hoops do I need to jump through to move the PDFs to a CMS Mdisk or SFS directory? I have tried to FTP using several different specifications and each time I am greeted with a message telling me that the file does not begin with %PDF when I try to display a file. TIA, Richard Schuh
Re: Displaying PDFs
Hi, Richard. I'm not following what the problem is hereyou state that the PDF files display nicely from a VM web serverdoesn't that imply that the PDF files are already stored on VM some place? Or is the VM web server getting the PDF files from the PC somehow? DJ Schuh, Richard wrote: I have some PDFs that have been residing on a Windows machine. These display quite nicely from a VM web server. The PC is going to be sent to the junk heap and not replaced. What hoops do I need to jump through to move the PDFs to a CMS Mdisk or SFS directory? I have tried to FTP using several different specifications and each time I am greeted with a message telling me that the file does not begin with %PDF when I try to display a file. TIA, Richard Schuh
Re: Displaying PDFs
No Hoops... We do this all the time on our VM system. FTP upload the PDF file in binary format to either a minidisk or SFS available to the webserver. You might also have to define a file attribute on the VM Web Server to supply the application/pdf mime type. Tom *From:* The IBM z/VM Operating System on behalf of Schuh, Richard *Sent:* Tue 12/5/2006 12:29 PM *To:* IBMVM@LISTSERV.UARK.EDU *Subject:* Displaying PDFs I have some PDFs that have been residing on a Windows machine. These display quite nicely from a VM web server. The PC is going to be sent to the junk heap and not replaced. What hoops do I need to jump through to move the PDFs to a CMS Mdisk or SFS directory? I have tried to FTP using several different specifications and each time I am greeted with a message telling me that the file does not begin with %PDF when I try to display a file. TIA, Richard Schuh
Re: Displaying PDFs
No, they are stored elsewhere at the moment. There are links to them in an HTML page. The point is that the files are complete and do display from their current location. FTP to VM corrupts them in some way. If I open the files on the PC with word, the first 4 bytes are %PDF. I have tried using both ASCII and Binary file transfers to VM and get the same message. -Original Message- From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Dave Jones Sent: Tuesday, December 05, 2006 10:02 AM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: Displaying PDFs Hi, Richard. I'm not following what the problem is hereyou state that the PDF files display nicely from a VM web serverdoesn't that imply that the PDF files are already stored on VM some place? Or is the VM web server getting the PDF files from the PC somehow? DJ Schuh, Richard wrote: I have some PDFs that have been residing on a Windows machine. These display quite nicely from a VM web server. The PC is going to be sent to the junk heap and not replaced. What hoops do I need to jump through to move the PDFs to a CMS Mdisk or SFS directory? I have tried to FTP using several different specifications and each time I am greeted with a message telling me that the file does not begin with %PDF when I try to display a file. TIA, Richard Schuh
Re: Displaying PDFs
With CA VM:Webserve, you have to not only transfer the file in binary, but specify no translate on display. vmwebsrv query attributes pdf Attribute Name Characteristics -- PDF STATIC SSI NO TRANSLATE NONE CONTENT-TYPE application/pdf ... BFSLINEND NONE SYSTEM NO ICONURL ... /VM:Webgateway/Images/ICONDOC.GIF Ready; -Original Message- From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Schuh, Richard Sent: December 5, 2006 13:20 To: IBMVM@LISTSERV.UARK.EDU Subject: Re: Displaying PDFs No, they are stored elsewhere at the moment. There are links to them in an HTML page. The point is that the files are complete and do display from their current location. FTP to VM corrupts them in some way. If I open the files on the PC with word, the first 4 bytes are %PDF. I have tried using both ASCII and Binary file transfers to VM and get the same message. -Original Message- From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Dave Jones Sent: Tuesday, December 05, 2006 10:02 AM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: Displaying PDFs Hi, Richard. I'm not following what the problem is hereyou state that the PDF files display nicely from a VM web serverdoesn't that imply that the PDF files are already stored on VM some place? Or is the VM web server getting the PDF files from the PC somehow? DJ Schuh, Richard wrote: I have some PDFs that have been residing on a Windows machine. These display quite nicely from a VM web server. The PC is going to be sent to the junk heap and not replaced. What hoops do I need to jump through to move the PDFs to a CMS Mdisk or SFS directory? I have tried to FTP using several different specifications and each time I am greeted with a message telling me that the file does not begin with %PDF when I try to display a file. TIA, Richard Schuh The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review retransmission dissemination or other use of or taking of any action in reliance upon this information by persons or entities other than the intended recipient or delegate is strictly prohibited. If you received this in error please contact the sender and delete the material from any computer. The integrity and security of this message cannot by guaranteed on the Internet. The Sender accepts no liability for the content of this e-mail or for the consequences of any actions taken on basis of the information provided. The recipient should check this e-mail and any attachments for the presence of viruses. The sender accepts no liability for any damage caused by any virus transmitted by this e-mail. This disclaimer is the property of the TTC and must not be altered or circumvented in any manner.