Forum Migration Notice
We're transitioning to a more modern community platform by the end of this year. Learn about the upcoming changes and what to expect.

Upload module to remote virtual controller

Hi,

is it possible to upload a module to a remote virtual controller via PCSDK?

Using

[...]
this
.Controller.AuthenticationSystem.DemandGrant(Grant.WriteFtp)

[...]
this.Controller.FileSystem.PutFile(...)

[...]

works on a local virtual controller, but if the controller runs on another computer it crashes with:

Unexpected error occurred:  Error connect to controller.