Re: Move aFile to aFolder with replacing ???
Re: Move aFile to aFolder with replacing ???
- Subject: Re: Move aFile to aFolder with replacing ???
- From: "Marc K. Myers" <email@hidden>
- Date: Sun, 11 Mar 2001 09:13:37 -0700
- Organization: [very little]
I don't have a NT server to try it on but this might be the answer.
"move" from volume to volume is really a copy, since it doesn't delete
the original - you have to do that separately. Therefore, try using the
"duplicate" command with the "replacing existing items" option.
"duplicate" seems to work better with files than "move" does.
The Jon's Commands "moveFile" doesn't work with moves from volume to
volume. If you use "copyFile" and then "deleteFile" on the original, it
should work just fine. This would be my recommendation. It would be
considerably faster than using the Finder commands.
Marc K. Myers <email@hidden>
AppleScriptsToGo
4020 W.220th St.
Fairview Park, OH 44126
[3/11/01 9:01:13 AM]
--
http://www.AppleScriptsToGo.com
>
Subject: Move aFile to aFolder with replacing ???
>
To: email@hidden
>
From: "Brandon Carpenter" <email@hidden>
>
Date: Sat, 10 Mar 2001 11:27:11 -0600
>
>
I have a script that will move a file from one volume folder to another
>
volume folder. Really simple.
>
If a file already exists, I get an error saying I do not have enough
>
permissions. Yet if I were to move the same file
>
the old fashioned way of drag n drop the file gets replaced. I have checked
>
with the admin
>
of the machine and I have full access. I have attempted the same thing with
>
Jon's Command
>
moveFile replacing and get a differant error message, though still a
>
permissions error.
>
Any ideas?
>
The volumes are on a NT server, shared properly, with full read/write
>
access.