[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] Mac::Apps::Anarchie & MacBinary



At 22.40 -0500 1998.06.09, David C. Schooley wrote:
>One thing worth trying might be to append a ".bin" to the end of the file
>name, either at the getting end or the putting end. That might coerce
>Anarchie into doing a MacBinary transfer. NetPresenz works that way, and
>since both apps were written by the same person...

That seems to do the trick.

use Mac::Apps::Anarchie;
$ftp = new Mac::Apps::Anarchie;
$ftp->user('pudge');
$ftp->pass('password');
$ftp->host('host');
$ftp->store('PowerPudgeII:Desktop Folder:untitled 5', '/tmp/text.bin');

With Anarchie set to Automatic, this is transferred as MacBinary.  Good call!

--
Chris Nandor          mailto:pudge@pobox.com         http://pudge.net/
%PGPKey = ('B76E72AD', [1024, '0824090B CE73CA10  1FF77F13 8180B6B6'])



***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch