[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PDF's on IFS



Do an 8 in WRKLNK next to one of those generated PDF files. Does it
have the same values as the PDF you copied to /tmp? I'm thinking
specifically about CCSID. Does anything seem out of whack?

On Wed, Jan 25, 2012 at 1:01 PM, David Baugh <davidb@xxxxxxxxxxxxxx> wrote:
> Yes I can open .txt files using Notepad in the same directory. I also tried pulling a pdf from the Windows environment into the same /tmp directory to see if it could be opened and it can.
>
> David Baugh
>
> Data Processing
>
> Deans & Homer
>
> 340 Pine Street 2nd Floor
>
> San Francisco, CA 94104
>
> 415-421-8332 x231
>
> -----Original Message-----
> From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx [mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Michael Ryan
> Sent: Wednesday, January 25, 2012 5:16 AM
> To: HTTPAPI and FTPAPI Projects
> Subject: Re: PDF's on IFS
>
> That should work fine. Are you sharing /tmp using Netserver? AFAIK, Windows should just look at the extension and invoke the correct program. Can you pull up .txt files using Notepad from the same /tmp directory?
>
> On Tue, Jan 24, 2012 at 8:41 PM, David Baugh <davidb@xxxxxxxxxxxxxx> wrote:
>>   Hi All,
>>
>>
>>   I have successfully incorporated Scott's FULLELEM program to take an
>>   XML input stream containing a .pdf, and write the .pdf to the IFS.
>>   Beyond that,  I'm fumbling with what to do next...
>>
>>
>>   If I browse to the file in the associated Windows directory
>>   (/tmp/fname.pdf), Adobe won't recognize my file, but if I FTP it or
>>   drag it out of iSeries Navigator to my desktop it's fine.
>>
>>
>>   In the Ideal World the RPG code would create it in the IFS as a file
>>   viewable by Adobe. Does FTP need to create the PDF on the windows
>> side
>>   to give Adobe the attributes it requires on the file? (where
>> currently
>>   there are no useable attributes) ?
>>
>>
>>   Can someone explain why this step is necessary? If this is possible
>> in
>>   RPG, has anyone had any success?
>>
>>
>>   Thanks in advance.
>>
>>
>>   David Baugh
>>
>> ----------------------------------------------------------------------
>> - This is the FTPAPI mailing list.  To unsubscribe, please go to:
>> http://www.scottklement.com/mailman/listinfo/ftpapi
>> ----------------------------------------------------------------------
>> -
>>
> -----------------------------------------------------------------------
> This is the FTPAPI mailing list.  To unsubscribe, please go to:
> http://www.scottklement.com/mailman/listinfo/ftpapi
> -----------------------------------------------------------------------
> -----------------------------------------------------------------------
> This is the FTPAPI mailing list.  To unsubscribe, please go to:
> http://www.scottklement.com/mailman/listinfo/ftpapi
> -----------------------------------------------------------------------
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------