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.

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.