Main Page   Modules   Data Structures   File List   Data Fields   Globals   Related Pages   Examples  

adds/app/ftpd

Explain how to use ftpd server.

 #include <pro/ftpd.h>
 #include <sys/eepromconf.h>
 *    .
 *    .
 //init eth and filesystem
 *    .
 *    .
 //load ftp config from eeprom
 //user & passwd 
 FtpLoadConfig();
 
 //create one conection listener service
 createFtpService(1);
 *    .
 *    .
 //for change user and password
 strcpy(confauth.user, "ftp");
 strcpy(confauth.passwd, "ftp");

 FtpSaveConfig();


Generated on Thu Jan 30 22:30:43 2003 for EduNet by doxygen1.2.18