How do I define some files are ASCII rather than BINARY

Core FTP client questions and answers
Post Reply
kevin
Posts: 3
Joined: Sun Dec 07, 2008 4:47 pm

How do I define some files are ASCII rather than BINARY

Post by kevin »

I am trying to define some extensions for ASCII files and I'm not sure how to do that for these files.

First is dot-files like .htaccess and .htpasswd

How do I specify that files with ONLY a -dot- followed by an extension are transfered as ASCII files ?

I go to View->Options->Extensions->Ascii Extensions

I see an initial list of entries that contains only a -dot- followed by an extension like:

.asp
.htm
.php

There are no wildcards shown in the default list or in the online help page, so I don't know if they can be used like:

.htm*
*.eml

So, for files that have no "name" part, but only an extension, how do you specify them ? ... can you enter something like:

.ht*
.*

For these files I would initially think something like -dot-ht-star- (.ht*) or -dot-star- (.*) is proper, or do you have to enter full specific names like:

.htaccess
.htpasswd

IF so, how do you handle names like:

.htaccess-01
.htaccess-02
.htaccess.03
.htaccessbak01
.htaccess.bak01

do each of these have to be explicitly defined or can wildcards like -star- or -question- (*?) be used ?

----

A second (similar) case is files with a "name" part but no "extension", like:

Copying
Copying.
COPYING
COPYING.
Author
AUTHOR
LICENSE
MIT-LICENSE
ChangeLog
ChangeLog.
CHANGES
README
PKG-INFO

If wildcards are allowed, my first guess is to use -star-dot- (*.)

I assume a single -star- (*) would not work and would match all files.

So, again, can you use wildcards, or do you have to specify each of these types of filenames specifically.

If specifically, do you include the trailing -dot- (.) ?

Lastly, is the specification case-sensitive ? Does (.htm) and (.HTM) mean the same, as well as (Author) (AUTHOR) (Author.) (AUTHOR.) ?

Thanks

Kevin
Post Reply