D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] newlines and ftp

 

Steve Marvell wrote:
> I sussed my problem, but have no solution.
> 
> vsftpd is not translating the windows newline characters.
> 
> Can anyone tell me if they are using vsftpd and can transfer a file
> correctly. Beware, sending it up and bringing it back works, you need
> to send it up and then check it locally.

I don't want to try to teach anyone to suck eggs, but ....

Time was when ftp used to default to ASCII for transfers, thus screwing
up any binary file unless you remembered to set the transfer mode to
binary.  Modern ftp does the opposite - it defaults to binary, thus not
performing ASCII translation between DOS/Windows machines (and others
using CR/LF) and *[Xx] which just use LF.

Are you saying that vsftpd is ignoring the "ascii" command ? 'Cause none
of mine do....


jd


-- 
John Daragon                                       argv[0] limited
Lambs Lawn Cottage,   Staple Fitzpaine,   Taunton,   TA3 5SL,   UK
v +44 (0) 1460 234068  f +44 (0) 1460 234069 m +44 (0) 7836 576127

-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html