<HTML> <HEAD> <TITLE>Candid Candice: ASCII vs. Binary FTP.</TITLE> </HEAD> <BODY BGCOLOR="FFFFFF"> <IMG WIDTH=221 HEIGHT=391 SRC="http://files.moo.ca/pics/cmib.jpg" ALIGN="left" ALT="[Cool Candice]"> Ask Candid Candice a question about Moo Canada:<BR> <FORM ACTION="http://www.moo.ca/candid"> <INPUT NAME="q" SIZE="60"> <INPUT TYPE="submit" VALUE="Ask!"> </FORM> <HR> <SCRIPT LANGUAGE="JavaScript"> <!-- if (location.search.indexOf("?q=") == 0) { q = unescape(location.search.substring(3)); while ((plus = q.indexOf("+")) != -1) q = q.substring(0, plus)+" "+q.substring(plus+1); document.write("<I>> "+unescape(q)+"</I>\n");} // --> </SCRIPT> <H1>ASCII vs. Binary FTP.</H1> <!-- Warning, this file is automatically generated, modifications to this file will be lost next time Candid Candice reboots. --> <!-- FTP* (ASC|BIN)* --> <!-- (ASC|BIN)* FTP* --> <!-- ASCII* --> <!-- BINARY* --> There are two different modes one can use when uploading or downloading a file using FTP. <DL> <DT><B>Binary</B> (8-bit). <DD>This mode is required when transferring compressed files, executable programs (or 'binaries'), graphics, sounds, or anything else that isn't in plain text format. If you transfer one of these files in ASCII mode, the resulting file will be a garbled mess that will not function. <DT><B>ASCII</B> (7-bit). <DD>This mode is only used when transferring plain text. This includes TXT and HTML files. If you transfer one of these files in Binary mode, the file will still contain all the text, but it may all be on one line, or the line breaks may all have ^M at the end. This is because different operating systems (DOS, Unix, Mac) use different codes to specify a line-break. </DL> If in doubt, use Binary mode when transferring files. Most good FTP clients will automatically figure out which mode should be used. <P> Related topics: <UL> <LI><A HREF="i_ftp.html">What is FTP</A>? <LI><A HREF="i_anonftp.html">Anonymous FTP</A>. <LI><A HREF="i_archie.html">Archie FTP search</A>. </UL> <!-- Warning, this file is automatically generated, modifications to this file will be lost next time Candid Candice reboots. --> <HR> This page was created and is maintained by <a href="http://www.moo.ca/wizzen">The Wizzen</a>, © 2002. <P ALIGN="center"><CENTER><A HREF="http://www.moo.ca/candice/toolbar"><IMG BORDER="0" SRC="http://files.moo.ca/pics/tool.gif" WIDTH="494" HEIGHT="19" ISMAP USEMAP="#toolbar" ALT="English toolbar"></A><BR> [ <A HREF="http://www.moo.ca/">home</A> | <A HREF="http://www.moo.ca/help?%23555">help</A> | <A HREF="http://www.moo.ca/who">who</A> | <A HREF="http://www.moo.ca/search">search</A> | <A HREF="http://www.moo.ca/candid/setup">setup</A> | <A HREF="http://www.moo.ca/candid.:!">code</A> ]</CENTER> <MAP NAME="toolbar"> <AREA SHAPE="rect" HREF="http://www.moo.ca/" COORDS="0,0,80,18" ALT="Home"> <AREA SHAPE="rect" HREF="http://www.moo.ca/help?%23555" COORDS="81,0,161,18" ALT="Help"> <AREA SHAPE="rect" HREF="http://www.moo.ca/who" COORDS="166,0,246,18" ALT="Who"> <AREA SHAPE="rect" HREF="http://www.moo.ca/search" COORDS="247,0,327,18" ALT="Search"> <AREA SHAPE="rect" HREF="http://www.moo.ca/candid/setup" COORDS="332,0,412,18" ALT="Setup"> <AREA SHAPE="rect" HREF="http://www.moo.ca/candid.:!" COORDS="413,0,493,18" ALT="Code"> </MAP> </BODY> </HTML>
[home | help | who | search | setup | code]