Re: File kind from extension
Re: File kind from extension
- Subject: Re: File kind from extension
- From: Andreas Monitzer <email@hidden>
- Date: Fri, 1 Mar 2002 17:53:32 +0100
On Friday, March 1, 2002, at 07:28 , Sam Goldman wrote:
One reason I can see for making my own table is that it could also
include
data that would determine if it should download in ASCII or BINARY data
transfer mode.
Please *DON'T*. I've never seen any purpose of FTP ASCII-transfer other
than wasting bandwidth (because you have to re-down/upload the file in
binary afterwards). All text editors on Mac OS X are able to handle all
common line endings (mostly because there are already two different ones
used on Mac OS X, \r and \n).
andy
PS: -[NSWorkspace getInfoForFile:application:type:] might help you a bit
with the other problems.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.