Filecopy error on notes scheduled agent

Hi all

I have this:

Source = “C:\Lotus\Domino\Data\MyFile.nsf”

Dest = “\BackupDrive\MyDir\MyFile.nsf”

Filecopy Source, Dest

but I get error “Permission denied”

I also tried with Dest = “C:\MyFile.nsf” and still get same error…

Any ideas ?

Thanks !!!

Subject: Filecopy error on notes scheduled agent

Hi,

When you run your agent manually (from the Notes Client) “C” drive is on the hard disk of your worsktation and your agent run without error because you have the rights to write on your disk.

If your agent run in server, he try to access at “C” drive of the server, you know?

This is an access right problem : agent has the rights of the person who created/modified it or with which it was signed.

On server, you must have a directory for which you have the rights of access or create a directory in Lotus drectory e.g. “MyFileCopy”…\Lotus\Notes\data\MyFileCopy

HTH

Thierry

Subject: RE: Filecopy error on notes scheduled agent

Hi

I found some “solution”, what I did is to create a batch file myfile.bat with all the instructions to copy files, and run it, by this way I get no error message and copy all files without problems…

Thanks