Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Base64 Encoding Attachments??

Status
Not open for further replies.

jennuhw

MIS
Apr 18, 2001
426
US
We have a AIX system that can generate PDF files and send them to customers. Some customers can view the files just fine others get the error: "There was an error opening this document. File does not begin with '%PDF-'." Now, the users can open other Adobe files with no problem that the system has generated.

When I open the file in Notepad this is the first few lines:
1036960_P.pdf"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="PO 1036960_P.pdf"

JVBERi0xLjENCjEgMCBvYmogPDwgL1Byb2R1Y2VyIChQY2wycGRmIC0gTGFzZXJKZXQgUENM
This is followed by many, many lines of garble. Anyone seen this before? Any clues on how to fix it?
Thanks in advance!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top