Re: FileCopy - Access Denied

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Hi Stefan,

the destination file is to be copied into My Documents/My Apps, which I
would have thought OK - if it were NTFS issues would the users be unable to
copy/paste manually to? (They can do this OK). I have also tried to change
the destination folder to a different one to which only the user has access,
and still the same issue.

"Stefan Hoffmann" wrote:

hi Rose,

Rose B wrote:
On most PCs it works fine, but on a couple of users I get Access
Denied error when trying to do the FileCopy. The code that I use is below.
Any ideas? (There is no issue doing the copy manually using copy/paste)
Kill LocalFile
FileCopy ServerFile, LocalFile
The problem may arise due to the NTFS rights your users have.

For example, an ordinary user has no write/delete rights on C:\ or
C:\Program Files.


mfG
--> stefan <--

.