
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:
When I'm executing this I get an error at the "me.YprFileSystem.CopyDirectory" line. The error is like below:
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
Categories
- All Categories
- 5.5K RobotStudio
- 398 UpFeed
- 19 Tutorials
- 13 RobotApps
- 299 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 324 IRC5
- 63 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 813 RAPID Programming
- 5 AppStudio
- 3 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings