Link to home
Start Free TrialLog in
Avatar of erin_allen
erin_allen

asked on

FileCopy and Permission Denied

I have a VB5 application that copies several files from one directory to another.  This application is running fine on most machines, but on one particular machine/user/location it is failing.

When the files aren't in the final directory every thing runs fine, but when the files are already there and the app tries to do a FileCopy, the Permission Denied error appears.  When I try to manually delete these files I get the same error.  If I open the files and resave them, I can delete them no problem.

What's going on?  Is the security for the user causing the problem?

Thanks,
Erin

ASKER CERTIFIED SOLUTION
Avatar of inthedark
inthedark
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of erin_allen
erin_allen

ASKER

The folder is actually on a server and not the user's machine.  She is using a multiple user machine however.  

And I believe we only have change permissions for these users.  I'll try and get it changed to include delete.

Thanks.
Are you using the Dir function?