RobotStudio event

CopyDirectory Problem

Hi,

I'm having some problem with getting the CopyDirectory method to work. Im using RAB 5.09, connected to a real controller.

Im using the RAB application to make a backup locally on the robot controller. I then intend to copy the backup directory to the PC. The code that I'm using for this first test is like below:

image

When I'm executing this I get an error at the "me.YprFileSystem.CopyDirectory" line. The error is like below:

image

I have experimented a lot with moving different parts of the path between the Remote/Local Directory setting, and the string variables PcPath and RobPath. However I do, I still get the same error.

I have tried with CopyFile also, that give me the same error.

I have also tried the "Rename" mathod, and that one I actually can get to work.

I have tried to find som clue here at the forum, and in the documentation. But without success.

Does anyone have any ideas about this?

/PerM