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

Re: [MacPerl] Copying files to Unix



  Thanks for the replies.

>>  I've been trying to copy files to a Unix computer using
>>MacPerl.  So far there has been no success.  I use File::Copy
>>and I am successful in copying to a computer running NT.
>>$! is no help cause it is empty.  
>
>So far there has been no success because when I do ...? (I really wish the
>Apple Telepathy Manager worked under 8.5, becanse it would be so nice to
>be able to read minds at times.) I take it there's an Appletalk server
>running on the Unix box, and you're mounting Unix disks on your desktop?
>Which server, which version of the server, and which version(s) of MacOS
>are you using?

  I am using MacOS version 8.1.  Yes I am mounting the Unix disks on my
desktop.  The server is CAP (version 3 I think). 

  The server requires a '.resource' and '.finderinfo' directories on the Unix
box where my files are supposed to go.  The resource fork is copied in
'.resource' and a short string including type and creator is located in
'.finderinfo'.  I've been trying to copy only the resource fork using

  my $resfork = POSIX::open($name,&Fcntl::O_RSRC);

  But I always get syntax error.  The O_RSRC flag's value is 16384.

>
>The MacPerl answer is to use File::Copy. If that doesn't work, something
>is wrong with the server. There have been reports of 8.5 problems with the
>Appletalk server I use, netatalk. I just copied SimpleText (over a
>TCP/IP/PPP/Appletalk connection over a modem), using MacPerl and File::
>Copy, from my wife's G3 running 8.5 to my netatalk box. It's the same
>size, and it launches and functions. Is there some size above which you
>see problems, or does whatever problem you're having happen with every
>file you try?
>


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