"Access denied" on file copy



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.

I can read from that machine, and I can create a folder with
ForceDirectories.

Does anybody have any ideas on the problem here? What settings might
need to be checked on the network machine? The general user settings
have no restrictions for all users. What permission does a Delphi
program run with?

The network machine is running Windows 2000 Server. My machine is
running Windows 2000.

Thanks in advance...

-Corinna

.



Relevant Pages

  • Re: Emailing web form information to me
    ... To deal with your comments on Vista, it is the mapping via 'my computer' ... or indeed the other bug that causes Publisher to ... have a default folder such as "public_html" that you are supposed to upload ... In the Map Network Drive dialog box, ...
    (microsoft.public.publisher.webdesign)
  • Re: Imagining/Cloning Desktops
    ... Via Network you'll have 2 requirements. ... has an account that has full permissions on it. ... local user account on the ghost storage pc and give it full access only ... source files set and the network drivers copied into the folder burn ...
    (microsoft.public.windowsxp.setup_deployment)
  • Re: Printer Security tab
    ... Try to Map the shared folder, if it won't then we need much more info on the setup, components and protocols? ... Right click "My Network Places" on the desktop or click "Tools" on the Menu bar in Explorer or MyComputer. ... > firewalls in both computers. ... turn on the XPSP2 Windows Firewall. ...
    (microsoft.public.windowsxp.general)
  • Re: Publishing Web Page For First Time
    ... by clicking on the folder, designate where the file is saved. ... Computer, My Network Places. ... New Pop Up Window appears - Add Network Location ... Specify the location of your network window pops up ...
    (microsoft.public.publisher.webdesign)
  • Re: filename is too long or contains illegal caracters
    ... When I ADD NETWORK LOCATION, I get "folder ... When I PUBLISH TO WEB (withing PUBLISHER) I get ... Per you suggestion, I tried to Add a Network Location in "Computer", ... The only difference is Vista. ...
    (microsoft.public.publisher.webdesign)