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

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



Chris (and anyone else that can help on this one).

At 3:03 PM -0500 5/29/98, Chris Nandor wrote:
>At 13.47 -0500 1998.05.29, Dennis Little wrote:
>>I'm in the process of attempting to ftp up a great many files recursing
>>through the directories with the following command:
>>
>>   $ftp->mkdir ($element ,true);
>>
>>where $element is a valid path.  I've tried :, \, and / as the delimiters
>>but it doesn't appear that it's working correctly.  In each case, I end up
>>with a directory that should be inside another showing up as a completely
>>seperate directory.
>
>I do know that the Net::FTP distributed with MacPerl is old.  Paul Schinder
>has the updated one at his site:
>
>    http://pobox.com/~schinder/MacPerl.html

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?

me

btw: please reply to thelittles@hotmail.com -- an account I can check from
home.


-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
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
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=



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