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

Ftpdadds


Functions

int ftpProcess (u_char id, TCPSOCKET *sock)
 THREAD (Service, arg)
void createFtpService (int threadNumber)
int FtpLoadConfig (void)
 Loads ftp config form eeprom.

int FtpSaveConfig (void)
 Saves ftp config in eeprom.


Detailed Description

Module contains implementation of file transport protocol.

Function Documentation

void createFtpService int    threadNumber
 

Create ftp service.

Parameters:
threadNumber  - number of listening threads.
Examples:
adds/app/ftpd.

int FtpLoadConfig void   
 

Loads ftp config form eeprom.

Loads ftp access user and password

Examples:
adds/app/ftpd.

int ftpProcess u_char    id,
TCPSOCKET   sock
 

Handle ftp client connection and process it.

Parameters:
id  - identifier for thread.
sock  - socket to comunicate with client.
Returns:

int FtpSaveConfig void   
 

Saves ftp config in eeprom.

Saves ftp acces user and password

Examples:
adds/app/ftpd.

THREAD ServiceFtpd   ,
arg   
 

Service ftp. This thread listen on port 21 for incomoing commection. When client connects service calls ftpProcess.


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