background image

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.

Summary of Contents for I!-FTPSENDER

Page 1: ...instruction manual integration Solutions i FTPSender...

Page 2: ...any accompanying hardware This limited warranty gives you specific legal rights You may have others which vary from state country to state country NO LIABILITY FOR CONSEQUENTIAL DAMAGES In no event sh...

Page 3: ...Contents Introduction 1 Supported Operating Systems 1 Minimum PC Requirements 1 Installing i FTPSender 1 Running i FTPSender 3 Programming 3 Channels 3 Strings 3 Send_Commands 3 Example Code 4 Troubl...

Page 4: ...ii i FTPSender Table of Contents...

Page 5: ...B of installed memory Minimum PC Requirements Windows compatible mouse or other pointing device At least 5 MB of free disk space 150 MB recommended VGA monitor with a minimum screen resolution of 800...

Page 6: ...Introduction 2 i FTPSender...

Page 7: ...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 me...

Page 8: ...rBusy 251 flag if destination socket is open DATA TYPE DEFINITIONS GO BELOW DEFINE_TYPE VARIABLE DEFINITIONS GO BELOW DEFINE_VARIABLE CHAR cSourceIP 200 CHAR cSourceUser 140 CHAR cSourcePass 140 CHAR...

Page 9: ...t txt filename to copy cDFileName dir1 ftptest txt filename to copy This will cause the file to be copied SEND_COMMAND vdvFTPDiag COPY cSFileName cDFileName cButtonPressed 2 CASE 3 File cSFileName dir...

Page 10: ...le does not exist The destination directory does not exist The destination user does not have write access to save the new file All of these problems can be solved by watching the strings provided fro...

Page 11: ...Running i FTPSender 7 i FTPSender...

Page 12: ...ve richardson TX 75082 USA 469 624 8000 800 222 0193 fax 469 624 7153 technical support 800 932 6993 033 004 2551 1 05 2005 AMX Corporation All rights reserved AMX the AMX logo the building icon the h...

Reviews: