PDA

View Full Version : Better options to decide ASCII or binary mode


thomassen
01-31-2002, 06:27 AM
Hi,
if you find mistakes in this post, you may keep them. I'm from Germany and 14 years old, so you don't have to point out.

At the moment I'm sitting on my father's computer which FlashFXP isn't installed on (grammar? :D) so I'm not able do describe the way how to get (or come?) to FlashFXP's options. But somewhere there you can define which files related to their extensions should be transferred in ASCII or binary mode. Nice, I entered *.php. But my project structure says that every file which gets included ends to .inc:
to_include.gif => to_include.gif.inc (binary)
to_include.jpg => to_include.jpg.inc (binary)
to_include.php => to_include.php.inc (ASCII)
And that's the problem: The extension always is .inc.
Is it possible to make a second input field where you can enter extensions which should be ignored, and instead of them their "sub-extensions" whould be parsed?

I hope my message is plain,
Peter

Fusion
01-31-2002, 07:03 AM
thomassen, you can safely use .php.inc and leave .inc out to ensure that you can mix various .inc-extensions. There is no 3-letter limit.

thomassen
01-31-2002, 07:54 AM
Hi,
sure, but I have to enter every file type two times.

Thanks for your answer,
Peter

Fusion
01-31-2002, 08:35 AM
yes, or you can use .php*, but that's more risky.

bigstar
01-31-2002, 10:51 AM
what's wrong with having to enter each type twice? It's the only way to achieve the results you want.

The ASCII list doesn't support wildcards

Fusion
01-31-2002, 10:53 AM
I stand corrected. :)

thomassen
01-31-2002, 11:36 AM
Hi,
than my suggestion should be worked out. It's simply nerved to enter everything double.

Bye,
Peter

bigstar
01-31-2002, 01:33 PM
Looks like I was wrong too. After examining the source code I clearly see what you wanted is simply not possible with the current design.

I have to wonder though is it normal to suffex your files with .inc?

thomassen
01-31-2002, 01:56 PM
Hi,
and is it possible to make wildcards working?

Every file which should be included by PHP into a web site has the extension .inc. It enhances the clearness.

Bye,
Peter

bigstar
01-31-2002, 04:29 PM
wildcard matching would probably be a bad idea. so no we're not going to do that.

However support will be added to handle ".php.inc" extensions.