Re: (compile) FTP
by "Darrell King" <darrell(at)webctr.com>
|
Date: |
Tue, 23 Oct 2001 18:54:24 -0400 |
To: |
<maria(at)coachmaria.com> |
Cc: |
"Hwg-Techniques" <hwg-techniques(at)hwg.org> |
References: |
hwg |
|
todo: View
Thread,
Original
|
|
.php, .php3, .php4, .phps
.css
----- Original Message -----
From: <maria(at)coachmaria.com>
Cc: "Hwg-Techniques" <hwg-techniques(at)hwg.org>
Sent: Monday, October 22, 2001 8:37 PM
Subject: RE: (compile) FTP
Question: My automatic feature in the FTP program I have isn't working
correctly. I already checked and it doesn't work in my new computer either.
What files should go under ascii in the default?
Thanks everyone for these answers:
=======
Ascii
.pl and .cgi (perl files)(must be ascii or won't work)
.htm, .html, .shtm, .shtml (will also work with binary, but harder to tweak
with notepad if you do)
.txt, .css, .shtml, .shtm, .php, .csv, .dat (usually) and anything else you
CAN open in Wordpad (or vi) and read.
Binary
.gif
.jpg
.pdf
=======================
In general, the best approach is to use binary for anything except for
text files. HTML, PHP, ASP, CGI, Perl, Text are all text files. Raw data
are stored in binaries. Some are more sensitive than others. For
example, PDFs and DOCs are not as sensitive to being uploaded as ASCII
as a GIF or JPG.
The litmus test really is to test what it looks like in a text editor.
If funny characters are displayed, then almost definitely it is a
binary.
===============
This should cover what you need. :-)
http://www.computronics.be/courses/append/fileext.html
More info here:
Data Formats and Their File Extensions
http://www.webopedia.com/quick_ref/fileextensions.html
HTH
=============
All compiled stuff goes bin -- like word docs, all pictures and the likes.
Ascii is for the non-compiled stuff -- text, scripts, cgi. You can transfer
text as binary so the rule of thumb is if you don't know transfer binary.
====================
Make Maria's Place - Your Place for Business & Life
Coaching, Consulting and Support Services
Find out how you can "Create Your First Ezine In One Day"
Visit www.coachmaria.com/ezineclass.html?1
Subscribe to our free ezine www.coachmaria.com
HWG hwg-techniques mailing list archives,
maintained by Webmasters @ IWA