Re: Trouble Copying Files to Netware Volume
Re: Trouble Copying Files to Netware Volume
- Subject: Re: Trouble Copying Files to Netware Volume
- From: Rob Jorgensen <email@hidden>
- Date: Wed, 2 Jul 2003 17:53:16 -0400
At 5:14 PM -0400 7/2/03, Sean Mills wrote:
Hello,
I am having trouble copying files to a mounted Netware volume. The
following OS 9 script works fine for local paths:
on adding folder items to uploadFolder after receiving uploadedFiles
set destinationFolder to "Macintosh HD:Desktop Folder:Copy Folder:"
tell application "Finder"
repeat with aSingleFile in uploadedFiles
duplicate file aSingleFile to folder destinationFolder
end repeat
end tell
end adding folder items to
However, when substituting a path for a folder on the Netware volume
(the path as specified by doing a Get Info on the folder), I receive
the following error:
""An error - 10006 occured while the Folder Actions server was
executing a script"
According to the AS Language Guide, this error means "Can't set
<object or data> to <object or data>." I must be doing something
wrong, so could someone please share his/her insight?
Does this work?
on adding folder items to uploadFolder after receiving uploadedFiles
set destinationFolder to "Macintosh HD:Desktop Folder:Copy Folder:"
tell application "Finder"
repeat with aSingleFile in uploadedFiles
duplicate aSingleFile to folder destinationFolder
end repeat
end tell
end adding folder items to
-- Rob
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.