lynx-dev
[Top][All Lists]
Advanced

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

Re: Re[2]: LYNX-DEV Using lynx for command line ftp.


From: Wayne Buttles
Subject: Re: Re[2]: LYNX-DEV Using lynx for command line ftp.
Date: Fri, 5 Dec 1997 08:53:30 -0500 (EST)

On Fri, 5 Dec 1997 address@hidden wrote:

> On Thu, 04 Dec 1997 13:56:50 -0500, Joe Batt <address@hidden> said: 
> >lynx -source ftp://myhost.dom/my_file.zip > my_file.zip
> >
> >On WinNT with the 32 bit version, the zip file gets ascii translated to 
> >have CRLFs in it.
>      
>    Lynx is writing to stdout and the ``OS'' is redirecting the output
> to my_file.zip.  As I recall stdout is opened in text mode and the OS 
> uses text mode to perform the redirection.

Well I just tried setting _fmode = O_BINARY; and it still corrupts zips on
the way down (with or without 4dos).  Either I missed lynx setting the
mode back or piping under windos is text mode only.

  Is this really true?  If 
> so, there may be little that you can do about it short of using a 
> better shell.
>      
> --John
> 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]