Re: [MacPerl-Porters] default type/creator
[email protected] ("Scott R. Godin")
| Newsgroups | perl.macperl.porters |
|---|---|
| Organization | Laughing Dragon Services |
| Message-ID | <[email protected]> |
In article <p05100303b7fdb02b43c5@[10.0.1.177]>, [email protected] (Chris Nandor) wrote: > > > >>If MacPerl doesn't know anything about a file I create > >>with Net::FTP should MacPerl set type to TEXT? > >> > >>Just thinking about a really unimportant detail ... :) > > > >I've been hunting around a bit, but I can't find exactly what sets the > >default type. Does anybody else know? > > GUSI. > > This is editable, in theory, in a GU I resource, which is not currently > supported in the beta, but is supported in 5.2.0r4. You can change it > there. > > >I tend to agree that, when a file is transferred as text, the default > >type may well be text, but when transferred as binary, it should be some > >binary type, definitely not text. > > There's no way to handle that in MacPerl itself, that I can think of. It > has to be in the perl code doing the downloading. Chris, is it possible to add a preference to MacPerl for "Default File type and creator for files created with MacPerl"? And have some way to override this with a MacPerl-specific config option in the script, perhaps? I can envision one or both text boxes with a "same as" button that you could concievably use to navigate to a file and have the app get the type or creator that way. If this meets with approval I could add it to the Feature Request section. -- Scott R. Godin | e-mail : [email protected] Laughing Dragon Services | web : http://www.webdragon.net/