Command Line Reference

Command Line Reference

getServerStatus

getServerStatus

Get the status of a
Managed File Transfer
hosted server.
To run the command on Windows, use the following syntax:
infamftcmd.bat -server <server> -user <user name> -password <password> -command getServerStatus -serviceType <service type>
To run the command on Linux, use the following syntax:
./infamftcmd.sh -server <server> -user <user name> -password <password> -command getServerStatus -serviceType <service type>
The following table lists the available command options:
Parameter Name
Description
Required?
Default Value
server
The host name or 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 get the status for. 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 getServerStatus -serviceType SFTP
For Linux.
./infamftcmd.sh -server http://localhost:8000/informaticamft -user Administrator -password Administrator -command getServerStatus -serviceType AS2/HTTPS

0 COMMENTS

We’d like to hear from you!