Copy file from server share to local folder with Applescript
Posted
by user345150
on Stack Overflow
See other posts from Stack Overflow
or by user345150
Published on 2010-05-19T14:13:46Z
Indexed on
2010/06/09
16:12 UTC
Read the original article
Hit count: 217
Hello.
I have a folder on a server which is shared with guest access enabled. I want to be able to copy a file from that folder to a local machine with Applescript. So far I have:
property source : "server:sharedfolder:file.ext" property destination : "Macintosh HD:Users:User:Documents:Folder"
tell application "Finder" copy file "source" to folder "destination" end tell
Which I think should work. But I get the error :Can't set folder source to destination number 10006. Any ideas?
Thanks.
© Stack Overflow or respective owner