Command Line Reference

Command Line Reference

listResources

listResources

Get the list of resources using the listResources command.
To run the command, use the following syntax:
infamftcmd.bat -server <server> -user <user name> -password <password> -command listResources -listResourceFile <location of the resource file> -resourceType <resource type> -resourceFilter <resource filter>
The following table lists the available command options:
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
listResourceFile
The absolute path to the location of the file that saves the list of Resources in an XML format.
Yes
None
resourceType
Lists resources of a specific type. The resource can be one of the following:
  • as2
  • database
  • ftp
  • ftps
  • http
  • https
  • icap
  • infahttps
  • infamft
  • mailbox
  • mllp
  • mq
  • pgpKeyRing
  • smb
  • smtp
  • ssh
No
None
resourceFilter
Lists resources based on the search criteria.
No
None

Example:

infamftcmd.bat -server "http://localhost:8000/informaticamft" -user sys -password sys -command listResources -listResourceFile C:\Informatica\sample_drop_file\Files\abc.xml -resourceType database -resourceFilter data

0 COMMENTS

We’d like to hear from you!