Images get distorted when uploading via ftp to my linux server...

DaHitman

Golden Member
Apr 6, 2001
1,158
0
0


<< hmm...

perhaps you're transferring in ASCII mode?
>>



ALWAYS make sure you issue a BIN command in FTP after you login and before you do a GETorPUT.
 

DaHitman

Golden Member
Apr 6, 2001
1,158
0
0


<< not always

Text files, config files, html files, should all be ascii.

bart
>>



No... it doesnt matter, you can use binary for everything... might be just a tad slower, but it will still be fine.

When in doubt, use binary. Binary mode means you get EXACTLY what was sent. ASCII mode sometime changes <LF> into <CR><LF> and vice versa depending on the originating system and the receiving system. Sometimes this is desirable, sometimes its not...