Main Page | Modules | Data Structures | File List | Data Fields | Globals | Related Pages | Examples
pro/ftpd.c File Reference
Detailed Description
DHCP client.
* * $Log: ftpd.c,v $ * Revision 1.2 2005/02/07 18:57:51 haraldkipp * ICCAVR compile errors fixed * * Revision 1.1 2005/02/05 20:45:38 haraldkipp * First release. * * *
FTP Server Configuration | |
| The Nut/OS Configurator may be used to override the default values. | |
| #define | FTP_ROOTPATH "PNUT:" |
| Default FTP root path. | |
| #define | FTP_DATA_PORT 20 |
| Default data port. | |
Functions | |
| int | NutFtpRespondOk (FTPSESSION *session, int code) |
| Send a positive response. | |
| int | NutFtpRespondBad (FTPSESSION *session, int code) |
| Send a negative response. | |
| int | NutFtpSendMode (FTPSESSION *session, int binary) |
| Send a response including the specified transfer mode. | |
| char * | CreateFullPathName (char *root, char *work, char *path) |
| Create an absolute path name. | |
| TCPSOCKET * | NutFtpDataConnect (FTPSESSION *session) |
| Establish an FTP connection for data transfer. | |
| int | NutRegisterFtpRoot (CONST char *path) |
| Register the FTP server's root directory. | |
| int | NutRegisterFtpUser (CONST char *user, CONST char *pass) |
| Register an FTP user. | |
| FTPSESSION * | NutFtpOpenSession (TCPSOCKET *sock) |
| Open an FTP server session. | |
| void | NutFtpCloseSession (FTPSESSION *session) |
| Close an FTP server session. | |
| int | NutFtpProcessCwd (FTPSESSION *session, char *path) |
| Process an FTP client's CWD command. | |
| int | NutFtpProcessDelete (FTPSESSION *session, char *path) |
| Process an FTP client's DELE command. | |
| int | NutFtpTransferFile (FTPSESSION *session, char *path, int mode) |
| Transfer a file to or from the FTP client. | |
| int | NutFtpTransferDirectory (FTPSESSION *session, char *path) |
| Process an FTP client's LIST or NLST command. | |
| int | NutFtpProcessMkd (FTPSESSION *session, char *path) |
| Process an FTP client's MKD command. | |
| int | NutFtpProcessPass (FTPSESSION *session, char *pass) |
| Process an FTP client's PASS command. | |
| int | NutFtpProcessPassiv (FTPSESSION *session) |
| Process an FTP client's PASV command. | |
| int | NutFtpProcessPort (FTPSESSION *session, char *args) |
| Process an FTP client's PORT command. | |
| int | NutFtpProcessPwd (FTPSESSION *session) |
| Process an FTP client's PWD command. | |
| int | NutFtpProcessRmd (FTPSESSION *session, char *path) |
| Process an FTP client's RMD command. | |
| int | NutFtpProcessSystem (FTPSESSION *session) |
| Process an FTP client's SYST command. | |
| int | NutFtpProcessType (FTPSESSION *session, char *typecode) |
| Process an FTP client's TYPE command. | |
| int | NutFtpProcessUser (FTPSESSION *session, char *user) |
| Process an FTP client's USER command. | |
| int | NutFtpProcessRequest (FTPSESSION *session, char *request) |
| Process an FTP request. | |
| int | NutFtpServerSession (TCPSOCKET *sock) |
| Process an FTP sever session. | |