Remote Scripting: Remote Finder does not copy local files...

Does anybody know why I cannot tell a remote Finder to copy files into a folder that both reside on its own local hard drive?


tell application "Finder" of machine "eppc://thk@192.168.0.201"
	copy file "thk:Documents:OLISDISK:ARCHIV:og:og1:og1-74.tif" to folder "Mac:thk:Documents:OLISDISK:copied:"
end tell

	-->	Finder got an error: Can't set folder "Mac:thk:Documents:OLISDISK:copied:" to file "thk:Documents:OLISDISK:ARCHIV:og:og1:og1-74.tif".

All pathes are correct and the file exists as well as the folder does.

Any help is appreciated,

Thomas


The remote Finder runs on Mac OS X 10.3.4 and the script runs on Mac OS X 10.2.8. - But this shouldn’t cause the problem (IMHO).

The first path is incorrect. It lacks the leading “Mac:Users:”…

I added it and it ended up in this:


Finder got an error: Can't set folder "Mac:thk:Documents:OLISDISK:copied:" to file "Mac:Users:thk:Documents:OLISDISK:ARCHIV:og:og1:og1-74.tif".

Seems, that my problem persists…

Thomas

Since no one else has jumped in…

Try ‘duplicate file’ rather than ‘copy file’.

Happy 4th.

Peter B.


Thanks Peter. This unfortunately leads to the same result…

Thomas