View Single Post
  #6  
Old 01-29-2004, 09:19 AM
  groovico's Avatar 
groovico groovico is offline
 

X-Man
  
Join Date: Apr 2003
Location: Firetanksoftware.com
Posts: 2,326
 

Default

Ok rule of thumb:

Upload the following types of files in ASCII
.tpl
.htm
.html
.txt
.pl
.asp
.cfg
.php
+ any script/config/html file you can edit in a text editor is ASCII

Upload in binary for anything like
.zip
.exe
.swf
.tar
.jpg/png/gif etc
+ Anything you can't open/edit as normal text.

.cgi files are determined by either being compiled or non compiled so easy way to check is open it in your editor, if you can read script then it's ascii if not it's binary

That's the basic rules.

You'll find you can upload anything in binary but when you download it you'll find ascii file EOL (end of lines) are screwed, it also creates problems with update patches as the file sizes change too.

CuteFTP, Smart FTP generally make the right decision, common mistakes are .pl missing, .tpl missing from their rule tables
__________________
Groovico

Used by X-carters the world over:
Marketing Manager Pro Bundle For X-cart
Featured Product Manager for X-cart
Feed manager pro for X-cart

http://www.firetanksoftware.com

Celebrating 7 Years of providing quality X-cart Add ons and X-cart Mods for x-cart 3.X to X-cart 4.4.X
Reply With Quote