Knowledge Base

Enter search queries below or use the tag links to the right to browse the knowledge base by category (Show All Tags).


Controlling Robo-FTP from Powershell

Robo-FTP comes with a COM class RoboFTPAutomation.Automate. You can create an instance of this class in powershell(x86) by calling:

$robo = New-Object -COMObject "RoboFTPAutomation.Automate"

If this returns a "Class Not Registered" error make sure you are running the x86 version of powershell. If you are then please see Unable to create the RoboFTPAutomation.Automate object for instructions on registering the RoboFTPAutomation type library.

After doing that you may start a Robo-FTP session as follows.

$robo.RoboStartSession("", 1, 0, "");

For details on how to use the Automate object please see the Help file chapter Using COM/OLE to Control Robo-FTP.

Article last updated: 2021-10-26

Tags: PowerShell COM COM/OLE OLE