Forum Migration Notice
Update (2026-01-21): The user forums are now in read-only mode pending the data migration.
Update (2026-01-12): The user forums will be put into read-only mode on the 21st of January, 00:00 CET, to prepare for the data migration.
We're transitioning to a more modern community platform by beginning of next year. Learn about the upcoming changes and what to expect.
Update (2026-01-12): The user forums will be put into read-only mode on the 21st of January, 00:00 CET, to prepare for the data migration.
We're transitioning to a more modern community platform by beginning of next year. Learn about the upcoming changes and what to expect.
FileSystem.GetDirectory Exception
Pedro
✭
Essentially I'm trying to automate backup creation and retrieval for archiving using the PC SDK interface. I figured out how to create a backup on the controller, but I'm having trouble getting the directory on the controller containing the backup and copying to the computer running an application with the PC SDK. Here's what I have (VB.Net):
With ABBController.FileSystem
.RemoteDirectory = "(BACKUP)$"
.LocalDirectory = "C:"
If .DirectoryExists("Remote_Dir") Then
.GetDirectory("Remote_Dir", "Local_Dir", True)
End If
End With
Running this snippet will generate a GenericControllerException with the message "Error accessing/creating file on the local file system.". When I compare the directory/file structure of my local and remote directories, I find that the HOME directory created on my PC contains none of the files found in the HOME directory on the controller's backup. Everything else appears to have copied correctly. Is this by design? Is there another way to retrieve the entire backup?
Thanks,
Pedro
0
Comments
-
Hola Pedro,When you said that you managed to create a backup in the controller, were you using the FP SDK?Are you trying to copy a backup file generated by the Flex Pendant?Saludos/CarlosCarlos Martinez
ABB0
Categories
- All Categories
- 5.7K RobotStudio
- 402 UpFeed
- 21 Tutorials
- 16 RobotApps
- 307 PowerPacs
- 407 RobotStudio S4
- 1.8K Developer Tools
- 251 ScreenMaker
- 2.9K Robot Controller
- 368 IRC5
- 92 OmniCore
- 8 RCS (Realistic Controller Simulation)
- 859 RAPID Programming
- 43 AppStudio
- 4 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 111 Collaborative Robots
- 5 Job listings