- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- MIME corruption
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2006 12:52 AM
01-17-2006 12:52 AM
MIME corruption
Example:
Username: SYSTEM
Password:
Welcome to OpenVMS (TM) Alpha Operating System, Version V7.3-2
Last interactive login on Tuesday, 17-JAN-2006 07:58:04.52
Last non-interactive login on Tuesday, 17-JAN-2006 02:00:00.32
aXP
...
PASCAL>DIR PD:DOCUMENT1.PDF
Directory LABO:[LAREAL.INTERNET]
DOCUMENT1.PDF;1 17 6-JAN-2006 08:19:44.45
Total of 1 file, 17 blocks.
document1.pdf is a readable pdf file with Acrobat.
PASCAL>MIME
MIME>OPEN/DRAFT ZAZA.TXT
MIME>
Content-Type: text/plain; charset=ISO-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: 7bit/8Bit ASCII
MIME> list
Message Headers:
Content-Type: text/plain; charset=ISO-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: 7bit/8Bit ASCII
MIME> add PD:DOCUMENT1.PDF
MIME> save
%MIME-I-SAVEFILE, saving file . . .
LABO:[LAREAL.SOURCES]ZAZA.TXT
MIME> list
Message Headers:
Content-Type: multipart/mixed
Content-Transfer-Encoding: 7bit/8Bit ASCII
Attachment: 1
Content-Type: text/plain; charset=ISO-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: 7bit/8Bit ASCII
Attachment: 2
Content-Type: application/pdf
Content-Disposition: attachment
Content-Transfer-Encoding: Base64
MIME> extract/attachment=2/FDL=sys$manager:pdf_file.fdl document3.pdf
%MIME-I-SAVEFILE, saving file . . .
DOCUMENT3.PDF
MIME> exit
PASCAL>dir document3.pdf
Directory LABO:[LAREAL.SOURCES]
DOCUMENT3.PDF;1 17 17-JAN-2006 13:41:03.60
Total of 1 file, 17 blocks.
document3.pdf is not readable with Acrobat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2006 01:33 AM
01-17-2006 01:33 AM
Re: MIME corruption
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2006 01:40 AM
01-17-2006 01:40 AM
Re: MIME corruption
MIME> show version
You run Acrobat on a VMS system? If not,
then you're omitting details which may be
important.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2006 02:45 AM
01-17-2006 02:45 AM
Re: MIME corruption
Acrobat is running on Windows.
The file examined is in a Pathworks diectory.
Here the PDF_FILE.FDL:
SYSTEM
SOURCE OpenVMS
RECORD
BLOCK_SPAN yes
CARRIAGE_CONTROL carriage_return
FORMAT stream
SIZE 0
G. Roux
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2006 03:39 AM
01-17-2006 03:39 AM
Re: MIME corruption
I would try to do the extract without /fdl and check what kind of file you get (fixed I hope). And try it in IE (or whatever).
If that isn't working I would use a fixed record length fdl (512b).
Note : never used MIME.
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2006 04:20 AM
01-17-2006 04:20 AM
Re: MIME corruption
initial file:
DOCUMENT1.PDF;1 File ID: (1638877,2,0)
Size: 17/100 Owner: [LABO,GRA]
File attributes: Allocation: 100, Extend: 0, Global buffer count: 0
No version limit, Contiguous best try
Record format: Stream, maximum 0 bytes, longest 0 bytes
Record attributes: Carriage return carriage control
RMS attributes: None
Extracted file:
DOCUMENT3.PDF;2 File ID: (1638299,1,0)
Size: 17/100 Owner: [LABO,GRA]
File attributes: Allocation: 100, Extend: 0, Global buffer count: 0
No version limit
Record format: Stream, maximum 0 bytes, longest 578 bytes
Record attributes: Carriage return carriage control
RMS attributes: None
G. Roux
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2006 07:29 AM
01-17-2006 07:29 AM
Re: MIME corruption
the files using a text editor (EDIT /TPU, for
example) to see if there are any visible
differences?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2006 06:43 PM
01-17-2006 06:43 PM
Re: MIME corruption
Or try with a fixed length fdl.
Or dump the files to see the difference in contents.
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2006 07:10 PM
01-17-2006 07:10 PM
Re: MIME corruption
But a DUMP is more significant.
Example on the block number 4 the deleted characters in a pdf stream.
line deleted character
000000 8D
0001A0 00
see attachment
G. Roux
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2006 07:52 PM
01-17-2006 07:52 PM
Re: MIME corruption
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2006 10:03 PM
01-17-2006 10:03 PM
Re: MIME corruption
SET FILE/ATTRIB=(RFM:FIX,LRL:512) make the file not readable with Acrobat.
On an other side, if I introduce "FORMAT fixed" in the PDF_FILE.FDL
MIME refuse de conversion.
Example:
MIME> OPEN/DRAFT ZAZA.TXT
Message Headers:
Content-Type: multipart/mixed
Content-Transfer-Encoding: 7bit/8Bit ASCII
Attachment: 1
Content-Type: text/plain
Content-Disposition: inline
Content-Transfer-Encoding: 7bit/8Bit ASCII
Attachment: 2
Content-Type: application/pdf
Content-Disposition: attachment;
filename=BULGEN.PDF
Content-Transfer-Encoding: Base64
MIME> EXTRACT/ATTACHMENT=2/FDL=SYS$MANAGER:PDF_FILE.FDL BULEXT.PDF
%MIME-W-FDLCNVERR, error encountered during file conversion: status = 00B210A4
MIME>
G. Roux
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2006 10:15 PM
01-17-2006 10:15 PM
Re: MIME corruption
The files were coming over from Advanced Server as "Record format: Stream, maximum 0 bytes, longest 0 bytes"
I changed the A/S share file format to this to stop the problem :-
UK\\ALPHA> show share jetformjobs/ful
Shared resources on server "ALPHA":
Name Type Description
------------ --------- -------------------------------------------------------
JETFORMJOBS Directory
Path: SY2:[NET.INTERNAL.JETFORMJOBS.READY]
Connections: Current: 0, Maximum: No limit
RMS file format: Sequential Fixed
Directory Permissions: System: RWED, Owner: RWED, Group: RWED, World: RE
File Permissions: System: RWD, Owner: RWD, Group: RWD, World: R
Share Permissions:
Total of 1 share
UK\\ALPHA>
I was then able to do a '$ SET FILE /ATTRIB=(LRL:512, RFM:FIX)' on each file to fix the MIME problem. The file's were also readable in Adobe.
As your files have varying record lengths, I guess that's why you can't use the above command.
Rob.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2006 10:54 PM
01-17-2006 10:54 PM
Re: MIME corruption
Sure the fdl is correct ?
I modified my pdf to stream and tried to do the same. Didn't work (loaded blank in IE). My PDF must be different.
But : I had problems when using encoding base64 and tried /enc=7bit and without /fdl. I got a working pdf of format stream.
Also read "help add/enc".
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2006 10:58 PM
01-17-2006 10:58 PM
Re: MIME corruption
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2006 11:56 PM
01-17-2006 11:56 PM
Re: MIME corruption
With the fixed record format, it seems we are on the good way.
I resume, according to my last test:
- a pdf stream file attached by MIME and sent by MAIL is not Acrobat readable
(dammaged).
- the same pdf file transformed by the command
SET FILE/ATTRIB=(RFMP:FIX,LRL:512)
is not locally Acrobat readable (dammaged)
but attached by MIME and sent by MAIL the attachment is Acrobat readable.
G. Roux
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2006 03:13 AM
08-28-2006 03:13 AM
Re: MIME corruption
I found fixed length PDF's and those must be mime added with /binary (downloaded).
Fwiw
Wim