(C)2004 - XPLAB S.a.s - Brescia - Italy =================================================================================================== Tecnical note: 002 date: 12-05-04 Title : FTP server provided by NXRFTP and XPrun Status : Active =================================================================================================== Abstract : How to install or enable FTP service provided by nxrftp and XPrun =================================================================================================== The FTP (File Transfer Protocol) is now the main way to udate the target PC with an XPOLYPUS application. You have two ways to do this: - use the nxrftp, - enable the service provided by XPrun * NXRFTP Is an XPLAB stand alone implementation of the TCP/IP stack with FTP service. The file that you can copy on the target machine is NXRFTP.EXE. To start just execute: ->nxrftp The program will look for a nxrftp.ini and, if found, will use information here contained. example nxrftp.ini ----------------------------------------- [NETWORK] my_ip=192.168.0.100 netmask=255.255.255.0 hostname=stationname ----------------------------------------- Else nxrftp will use default setting and address assignement strategies (DHCP, BOOTP, AUTOIP). The standard pasword is : nxrftp * XPRUN Within your application set file you have to enable IEP1 server: IEPSRV= 0,1800,prjdir\app.NET; Where Item1 = adapter number; Item2 = IEP1 port number (normaly 1800) Item3 = path and name of an ini file like nxrftp.ini above * HARDWARE Both nxrftp and XPrun, direcly recognize and use without any driver the following adapter: - INTEL 10/100 8255X compatible - REALTEK 8139 compatible Other adapter could be used with packetDriver (for DOS). In this case the suggested sw interrupt is 0x60. DO NOT USE interrupt [0X61-0X70]. * USE FTP SERVICE - From windows you can open the remote station in the standard ftp way. Windows provide also the command level program (ftp). - From XPWin in the compile page as last device you will found FTP. In this way deploy and application is very simple.