Command Line Reference

Command Line Reference

stopService

stopService

Stop a
Managed File Transfer
hosted service using the stopService command.
To run the command on Windows, use the following syntax:
infamftcmd.bat -server <server> -user <user name> -password <password> -command stopService -serviceType <service type>
To run the command on Linux, use the following syntax:
./infamftcmd.sh -server <server> -user <user name> -password <password> -command stopService -serviceType <service type>
The following table lists the available options when you stop 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 stopService -serviceType SFTP
For Linux.
./infamftcmd.sh -server http://localhost:8000/informaticamft -user Administrator -password Administrator -command stopService -serviceType AS2/HTTPS

0 COMMENTS

We’d like to hear from you!