With OS 9 or earlier I have been able to move items from a server to the trash when I was done with them
tell appliation "Finder
move thisItem to the trash
end tell
but in OSX I’ve been having some problems with it…I think it is because the files need to be deleted immediately rather than being stored in the trash.
I’m not sure of what you are trying to do. If you are trying to delete a file that exists on another machine, you would have to tell that machines Finder to handle that task. Something like this…
tell application "Finder" of machine "eppc://12.12.12.12"
--your code goes here
end tell