in reply to Re: File size on the Remote server
in thread File size on the Remote server

I did changed to binary. Now it's been working and I'm getting the correct file size. But my question is, when I'm FTP'ing to the same OS remote server (HP) and the file is an ascii type, is there any kind of impact ??? thanx

Replies are listed 'Best First'.
Re: Re: Re: File size on the Remote server
by no_slogan (Deacon) on Jun 06, 2001 at 01:43 UTC
    Glad it's working for you now. What you need to understand about ascii type is that it changes all line ends to carriage-return-line-feeds when they go "over the wire" from one machine to the other. Even if the two machines have the same end of line conventions, your file gets chewed on twice (once converting to CRLFs, and again when converting back), and in some cases that might leave some tooth marks. Some ftp clients will detect that situation and automatically switch to binary mode... others won't.