Running i!-FTPSender
3
i!-FTPSender
Running i!-FTPSender
Programming
i!-FTPSender is a NetLinx module you can add to any program. You interact with the module
through a virtual device supporting:
Channels
Strings
Send_Commands
Channels
The following table lists the channels supported by i!-FTPSender.
Strings
The following table lists the strings supported by i!-FTPSender.
Send_Commands
The following table lists the Send-Commands supported by i!-FTPSender.
i!-FTPSender Channels
Channel
Description
250
Channel turns on when the module is communicating with the source server.
251
Channel turns on when the module is communicating with the destination server.
255
When channel is on, debugging messages from the module are printed to terminal.
i!-FTPSender Strings
S:<code> <message>
Source server message. Code is the FTP return code and message is a mes-
sage associated with code.
D:<code> <message>
Destination server message. Code is the FTP return code and message is a
message associated with code.
i!-FTPSender Commands
COPY-SourceFile[;DestFile]
Copies SourceFile from source
server to destination server.
Syntax:
’COPY-SourceFile[;DestFile]’
Destination file can be specified as DestFile or will default to SourceFile.
Both file names can include a directory path from the root of the FTP server.
Example:
SEND_COMMAND <DEV>,"’COPY-;cSFileName’"
Copies cSFileName from source server to destination server.
VERSION
Prints the module version to the
terminal or telnet window.
Syntax:
’VERSION’
Example:
SEND_COMMAND <DEV>,’VERSION’
Prints the module version to the terminal or Telnet window.