FTP Binary , ASCII
Mike Burger
mburger at bubbanfriends.org
Mon Aug 23 03:42:41 UTC 2004
On Sun, 22 Aug 2004, littleguru wrote:
> I as reading a book related to cgi scripts , and it mentioned that we
> shouldn't upload
> scripts through Binary mode , because they will not work .
> Would you please explain to me what is the difference between these two
> , when is the
> best time to upload with each of them .
Whomever told you that, told you wrong. The reverse is actually true.
Uploading in ASCII mode can cause your scripts to not work, properly, in
that it's possible that you'll have line end/feeds added/removed/changed
for each line.
Uploading in Binary mode transmits the file, as is, to the destination
system. If a script file fails to run, after uploading in binary mode,
then it's either got issues, already, or its file permissions aren't
correctly set.
--
Mike Burger
http://www.bubbanfriends.org
Visit the Dog Pound II BBS
telnet://dogpound2.citadel.org or http://dogpound2.citadel.org
To be notified of updates to the web site, visit
http://www.bubbanfriends.org/mailman/listinfo/site-update, or send a
message to:
site-update-request at bubbanfriends.org
with a message of:
subscribe
More information about the fedora-list
mailing list