This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: ASCII and BINARY files. Why?


dahms@ifk20.mach.uni-karlsruhe.de wrote:
> 
> Hi, you wrote:
> 
> : Content-Type: application/x-zip-compressed; name="fran.zip"
> : Content-Transfer-Encoding: base64
> 
> My mailer can't handle base64 nor quoted/printable.
> (But it handles 8bit Latin1 or the proprietary VMS mail foreign format 8-)
> RFC1920 still lists MIME as draft/elective...
> Can you please send again uuencoded or put this on an FTP server?
> 
> Bye, Heribert (dahms@ifk20.mach.uni-karlsruhe.de)

It was just a piece of text without CR's.  If you aren't mounted -b,
you can still produce plenty of your own with

#include <stdio.h>
#include <fcntl.h>

int main(int argc, char **argv)
{
  int c;
  setmode(fileno(stdout), O_BINARY);
  while ((c = getchar()) != EOF) putchar(c);
  return 0;
}

--
<J Q B>
-
For help on using this list, send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]