Description: In the preparation of a ftp server under Linux, on the how the CWD command processing. Currently my practice is: control the connection process, use chdir () to change the directory to the directory specified by the CWD command, and then save the current directory path, given the data connection process. This command can list the information listed in the directory.
File list (Check if you may need any files):
myftp\myftp\执行文件\ftp.ini
.....\.....\........\myftp
.....\.....\........\myftp.sh
.....\.....\........\Read_Me.txt
.....\.....\程序代码\ftp.ini
.....\.....\........\ftp_cmd.c
.....\.....\........\ftp_cmd.h
.....\.....\........\makefile
.....\.....\........\myftp.c
.....\.....\........\myftp.sh
.....\.....\........\myftpser.c
.....\.....\........\myftpser.h
.....\.....\........\myhash.c
.....\.....\........\myhash.h
.....\.....\........\pub.c
.....\.....\........\pub.h
.....\.....\........\transfer.c
.....\.....\........\transfer.h
.....\.....\项目相关文档\ftp服务器项目手册2010.doc
.....\.....\............\程序总框架.doc
.....\.....\............\项目模块图.vsd
.....\.....\执行文件
.....\.....\程序代码
.....\.....\项目相关文档
.....\myftp
myftp