background image

Running i!-FTPSender

6

i!-FTPSender

(***********************************************************)

DEFINE_PROGRAM

(* Feedback *)

[dcFTPCopy[1]]=(([vdvFTPDiag,FTPSServerBusy] || [vdvFTPDiag,FTPDServerBusy])

 && (cButtonPressed = 1))

[dcFTPCopy[2]]=(([vdvFTPDiag,FTPSServerBusy] || [vdvFTPDiag,FTPDServerBusy])

 && (cButtonPressed = 2))

[dcFTPCopy[3]]=(([vdvFTPDiag,FTPSServerBusy] || [vdvFTPDiag,FTPDServerBusy])

 && (cButtonPressed = 3))

[dcFTPCopy[4]]=(([vdvFTPDiag,FTPSServerBusy] || [vdvFTPDiag,FTPDServerBusy])

 && (cButtonPressed = 4))

(***********************************************************)

(*                     END OF PROGRAM                      *)

(*        DO NOT PUT ANY CODE BELOW THIS COMMENT           *)

(***********************************************************)

Troubleshooting i!-FTPSender

All interaction with the FTP servers is provided as a string from the virtual device. Most problems 

can be resolved by reading the server interaction provided by the strings.

Common problems might be:

 

The IP address or host name supplied for the FTP server does not have an FTP server 

running.

 

The username and/or password may be incorrect.

 

The source file 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 from the i!-FTPSender 

module and acting on that information.

This code may not work to FTP files between all FTP servers. Some servers, by default, disable 

server to server transfers (also called passive mode) which is used by i!-FTPSender for transferring 

files. For instance, Microsoft's IIS disables server to server transfers by default. For more 

information, see the Microsoft Support Article at:

 

http://support.microsoft.com/support/kb/articles/Q247/1/32.ASP

.

Learning More

To learn more about FTP file transfers, go to 

www.protocols.com

 for general information about 

FTP or 

www.faqs.org/rfcs/rfc959.html

 (

RFC959

) for more detailed FTP specifications. For 

reference, i!-FTPSender operates under the server-server model described in section 2.3 and the 

command sequence outlined in Figure 3 of section 5.2 of Postel & Reynolds' RFC 959.

Содержание I!-FTPSENDER

Страница 1: ...instruction manual integration Solutions i FTPSender...

Страница 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...

Страница 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...

Страница 4: ...ii i FTPSender Table of Contents...

Страница 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...

Страница 6: ...Introduction 2 i FTPSender...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 11: ...Running i FTPSender 7 i FTPSender...

Страница 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...

Отзывы: