General discussion

Locked

Re : NT service with Delphi(TServiceApp)

By magendran.govender ·
Hi there

Can anyone help please?

I am writing a NT service to just copy a file from a network drive every 60 seconds for reporting. The problem is the service doesn't want to copy the file or NT does not allow it to copy the file from the network drive. In a normal application the file is copied from the network drive successfully. If I set the service to copy a file from the local drive to another folder on the local drive, it also does this fine. Only does not want to copy from the network. The drive, folder and all permissions have been set on the network drive but it still cannot copy the file.

Can a service copy a file from a network drive ?

Thanks, in advance.

This conversation is currently closed to new comments.

2 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Re : NT service with Delphi(TServiceApp)

by mark.thomson In reply to Re : NT service with Delp ...

By Default NT services use the local system account which has no privileges on any other computer, in order to access a network share you need to set the service to log on with a user account that has access to the share

Collapse -

Re : NT service with Delphi(TServiceApp)

by magendran.govender In reply to Re : NT service with Delp ...

Poster rated this answer

Back to Web Development Forum
2 total posts (Page 1 of 1)  

Related Discussions

Related Forums