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

Re: [MacPerl] net::ftp not working properly?



On Fri, 29 May 1998 16:20:26 -0700, Dennis Little wrote:

>I've now found the typo that was causing the above problem (and
>downloaded/installed the latest libnet including net::ftp) just in time to
>run into another one that I don't see an easy cross-platform way around.
>
>The process of creating directories and sending files seems to work fine
>except for files with a resource fork.  If I use Anarchie to the same
>server with the same file, I have no problem. If I try the same thing
with
>net::ftp in any format it seems to support, the resource fork is lost.
>
>In my test case, I'm using a Shuck as a test file (data fork length: 0,
>resource fork length 177,745). Since it has no extension, I'm not sure
how
>Anarchie is doing the transer and anarchie log/transcript is of no help.
>
>I'm making an assumption that it's sending it as a MacBinary file in the
>background which isn't supported in net::ftp.
>
>Any other ideas how to resolve this (and keep it cross platform) short of
>switching to Mac::Apps::Anarchie?

It's pretty simple. On my Web site,
http://pobox.com/~schinder/MacPerl.html, you can find Mac::Conversions.
Get this and a copy of Eryq's Convert::BinHex from your favorite CPAN
archive or from Eryq's site (URL on my page), and MacPerl can convert any
Mac file into MacBinary or BinHex Then send the encoded file.

>
>me
>
>btw: please reply to thelittles@hotmail.com -- an account I can check from
>home.
>
>
>-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-3D-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

>Dennis Little mailto://dennis.j.little@lmco.com
>Lockheed Martin Missiles & Space       mailto://metnet@worldnet.att.net
>Sunnyvale, CA                               Web: http://www.lmms.lmco.com/
>Phone: 408/756-2170                       LMMS: O/EA52 B/076 C/3E8
>-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-3D-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=






-------
Paul J. Schinder
schinder@pobox.com


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