Command Line Reference

Command Line Reference

startService

startService

Start a
Managed File Transfer
hosted service using the startService command.
To run the command on Windows, use the following syntax:
infamftcmd.bat -server <server> -user <user name> -password <password> -command startService -serviceType <service type>
To run the command on Linux, use the following syntax:
./infamftcmd.sh -server <server> -user <user name> -password <password> -command startService -serviceType <service type>
The following table lists the available options when you start a service.
Parameter Name
Description
Required?
Default Value
server
The host name or the IP address of the hosted server.
Yes
None
user
The name of the admin user.
Yes
None
password
The password for the user to log in with.
Yes
None
serviceType
The
Managed File Transfer
hosted service type to start. The service can be one of the following:
  • FTP
  • SFTP
  • FTPS
  • MLLP
  • AS2/HTTPS
Yes
None
Example:
For Windows.
infamftcmd.bat -server http://localhost:8000/informaticamft -user Administrator -password Administrator -command startService -serviceType SFTP
For Linux.
./infamftcmd.sh -server http://localhost:8000/informaticamft -user Administrator -password Administrator -command startService -serviceType AS2/HTTPS

0 COMMENTS

We’d like to hear from you!