Article View: comp.mail.mime
Article #96Re: Using MIME without extra mail headers
From: Alasdair Grant
Date: Sat, 09 Jan 1993 20:18
Date: Sat, 09 Jan 1993 20:18
33 lines
2391 bytes
2391 bytes
In article <C0LnHt.C9J@ra.nrl.navy.mil> atkinson@itd.nrl.navy.mil (Randall Atkinson) writes: >files via "binary" mode ftp transfer. I would not consider it >desirable to have an ftp that looked inside the bits it was moving >around (personal opinion). No, this is not appropriate for the File Transfer Protocol; however, it may well be appropriate for a file transfer client. I already have a shell script around FTP that does "uncompress" and "tar -xf" if the name ends in .tar or .Z; luckily, this is possible because people conventionally use these filenames (the FTP does not provide any useful information). An FTP client could similarly recognise MIME files, but nobody is going to use filenames like myfile.MIME-Content-Type:application/foobar so the information will have to be conveyed by some eyecatcher in the file. Perhaps a filename myfile.MIME would indicate that the first few lines of the file (until a blank line) were in fact "headers". But even this is not enough - one has to say whether .MIME files are text or binary. If an EBCDIC machine FTPs a .MIME file in binary mode, it must assume the headers are in ASCII. And if an EBCDIC machine provides a .MIME file for anonymous FTP, it must use ASCII for the headers even if the data is readable (EBCDIC) text. Alternatively, you could say that .MIME files are readable text using BASE64 etc. if necessary. Or have .MIMEB and .MIMET files. Why not put MIMEB and MIMET into FTP, along with ASCII, BINARY and EBCDIC? Similarly, one could argue about how to annotate files that are sent to a print server (via LPR, not SMTP). Why shouldn't print servers be MIME- capable? Some already automatically detect the difference between text and PostScript based on the file starting '%!PS-Adobe'. How are they supposed to detect MIME?
Technical Details
Message-ID:
<1993Jan9.201813.6268@infodev.cam.ac.uk>Path:
arc1-ca.pugleaf.net!sparky!uunet!pipex!warwick!uknet!pavo.csi.cam.ac.uk!ag129References:
<C0LA9I.9AB@ra.nrl.navy.mil> <1993Jan9.143137.29608@infodev.cam.ac.uk> <C0LnHt.C9J@ra.nrl.navy.mil>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!pipex!warwick!uknet!pavo.csi.cam.ac.uk!ag129 From: ag129@cus.cam.ac.uk (Alasdair Grant) Newsgroups: comp.mail.mime Subject: Re: Using MIME without extra mail headers Message-ID: <1993Jan9.201813.6268@infodev.cam.ac.uk> Date: 9 Jan 93 20:18:13 GMT References: <C0LA9I.9AB@ra.nrl.navy.mil> <1993Jan9.143137.29608@infodev.cam.ac.uk> <C0LnHt.C9J@ra.nrl.navy.mil> Sender: news@infodev.cam.ac.uk (USENET news) Distribution: na,uk Organization: U of Cambridge, England Lines: 33 Nntp-Posting-Host: bootes.cus.cam.ac.uk