470,636 Members | 1,462 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,636 developers. It's quick & easy.

sending commands to a shell

I need to have a perl cgi script move files from the machine it is running
on to a mounted server volume. This is complicated by the fact that the
files are images with resource forks (on MacOSX) and the destination is a
windows machine. As they are mac files I need to use ditto, but the line

system "ditto", "--rsrc", "/source/file/path", "/destination/file/path";

although it executes without an error, does nothing. The httpd error log
reports

ditto: /destination/file/path: Operation not permitted

File and directory permissions are all wide open and if I execute the
command from the command line it works perfectly.

Can anyone help me? Or any other ways in perl to transfer files from one
machine to another while preserving resource forks?

TIA,

Alistair

Jul 19 '05 #1
0 1438

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

12 posts views Thread by Moosebumps | last post: by
3 posts views Thread by Sara Khalatbari | last post: by
1 post views Thread by Mike Kamzyuk | last post: by
3 posts views Thread by baileystuff | last post: by
1 post views Thread by bill | last post: by
8 posts views Thread by Philippe Lang | last post: by
1 post views Thread by lorinh | last post: by
1 post views Thread by Riccardo Maria Bianchi | last post: by
???
1 post views Thread by Stoney L | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.