Re: "Access denied" on file copy



swansnow wrote:
I'm trying to copy a file from one folder to another on a machine that
is located on the internal network. Both folders are on that machine. I
can map a network drive to that machine, and manually copy files, but
when my program gets an "access denied" error (error code 5) when I try
to copy using the CopyFile function.

Is your path correct? What does the format of your path look like?

What permission does a Delphi program run with?

The same permission as the user.

Cheers,
Nicholas Sherlock
.



Relevant Pages

  • Add network place to remote site problem
    ... I am unable to map a folder from my current internal network to a remote ... I can map drives to ...
    (microsoft.public.windowsxp.network_web)
  • Network mapping
    ... Any suggestions on how to map the internal network from outside? ... tools like nmap, 0trace or others similar. ... Need to secure your web apps NOW? ...
    (Pen-Test)
  • Map to XP drive on Intranet
    ... I can map out of XP Pro without any problems. ... use my laptop on an internal network to map to a drive on the XP ... Norton Personal Firewall, disabled NOD32 virus checking, triple checked my ... userids and passwords, ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Weve been hacked!
    ... boot disk will get you in, otherwise a system recovery tool like ERD ... and your internal network as you have no idea what else might be installed, ... > folders and filenames on our server... ...
    (microsoft.public.security)