Path: utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!usc!jarthur!nntp-server.caltech.edu!gwoho From: gwoho@nntp-server.caltech.edu (g liu) Newsgroups: comp.misc Subject: Re: what does ascii ftp do to a binary file? Message-ID: <1990Dec6.201258.7937@nntp-server.caltech.edu> Date: 6 Dec 90 20:12:58 GMT References: <1990Dec6.194811.7643@nntp-server.caltech.edu> Organization: California Institute of Technology, Pasadena Lines: 15 gwoho@nntp-server.caltech.edu (g liu) writes: >what happends to a binary file when it is sent by ftp in ascii mode? >it seems to me that some bytes are removed, and that's all. what exacly >happens? (i am interested in fixing some files send wrong) >gwoho liu i tried ftping some binary files around in ascii mode. i discovered: going from machine a to machine b, nothing happens to the file. going from machine b to machine a, the file increased by about 3k. ftp reported receiving about 7k extra, but the file turned out to be only 3k extra. (the number of bytes ftp reported receiving doesn't match the number of bytes in the file i got). i sent the file twice. both times, exactly the same thing happened to the file. what's happening? why is ftp reporting an inacurate size? gwoho liu.