Using the FTCon Console Program (Advanced Programmers Only)
34
FileTransfer2
AXW File Transfer Arguments
The following arguments specify how to launch the FTCon program with an AXW file:
"FileName" ["Project Id"] [“System Id”]
"Project Id" – If not supplied, all files in the workspace are transferred. Otherwise, this
must be the identifier of a project. The first matching project is transferred.
"System Id" - If not supplied, all systems in the project are transferred. Otherwise, this
must be the identifier of a system. The first matching system is transferred.
FTL File Transfer Arguments
The following arguments specify how to launch the FTCon program with an FTL file:
"FileName" –Send | -Receive
"FileName" - Fully qualified file name of the FTL within quotes.
-Send |-Receive Indicates whether to load the specified FTL into the send or receive
queue.
Send is assumed by default.
Single File Transfer Arguments
The following arguments specify how to launch the FTCon program with a single file.
All arguments must be present on the command line, except where noted, for the specified file or
the file will not transfer.
The order of the arguments is important and will need to follow the order listed below.
"FileName" CommSettings [DeviceMapping] –Send|Receive -Boot
-Axcess -Optimize -Direct –Tpd=BIF –User="username:password"
"FileName"
- Fully qualified file name of the file to transfer within quotes.
CommSettings
- Specifies the communication protocol and settings used for transferring
the file.
For a TCP/IP transfer, the command would be:
ip/url:[port]:[ping-before-connect]
The IP/URL address can be either the IP address or an URL and the port specifies the port on the
master.
An example for a TCP/IP transfer would be:
192.168.221.3:1319:1
-or-
amx.boardroom.net:1319:0
The port is optional and defaults to 1319. Ping-before-connect is optional and the default is
1(enabled).
For serial transfer, the command would be:
commport,baud,[databits],[parity],[stopbits],[flow]
commport = specifies the comm. port for transfer (i.e. COM2).
baud = specifies baud rate (i.e. 9600 or 57600).
databits = specifies the number of data bits. This should be set to 8.