vxftp
所属分类:VxWorks
开发工具:C/C++
文件大小:33KB
下载次数:20
上传日期:2011-10-31 21:29:21
上 传 者:
落雪君
说明: vxworks下FTP升级代码,可以取代原安装包下的ftpdLib.c
(vxworks under the FTP to upgrade the code, you can replace the original installation package under ftpdLib.c)
文件列表:
vxft\ft01ildr.c (1933, 2007-04-13)
vxft\ftl00mai.c (135290, 2007-04-13)
vxft\makefile (809, 2007-04-13)
vxft\vxft.h (1464, 2007-04-13)
vxft (0, 2007-04-28)
WARNING: !!!!!!Read Descriptions before use it.
Assme you have got a valid cpoy of WRS Vxworks
Copyright of this file belong to WRS
modify the vxftDefaultLogVerifyRTN function to your own
the default user name is "myName" and default passwrod is
"myPass".
default control port is 21 and data port is 20 for standard
ftp clients-- you can change it if needed.
***************************************************************************
Description: main implemetation for elink component hacked from
WRS's ftpdLib.c,just treate it as ftpdLib.c,it works OK
with windows ftp clients such as CuteFTP pro and
FlashFXP,etc,and also linux ftp client gftp.this server can
be used in vxWorks 5.5 or later(6.x ok,too)
USEAGE/TEST: DO NOT include ftpd component in vxWorks OS
configration(or you change VXFT_DATA_PORT and VXFT_DAEMON_PORT
you can use them at the same time),
compile these files to a .out or into your
os image.
start the server by use function in your code or shell:
usrVxftStart("/your/ftp/rootdir");
"/your/ftp/rootdir" such as "/ata0",or "/tffs0",etc
open CuteFTP and access this server just like any other
sites with the default user name and password descripted
in the WARNING section.
and will be OK! any problem? contact me if needed.
Why we rename it from ftpd to vxft?
first because NOT to conflict with default ftpdLib.c in
function names
also because we have a client written by ourselves and we'v
add so many non-standard commands in it to perform online
debugging into our applications(Note that these
non-standard commands is not included(has been cleaned up)
in this file).
KNOWN PROBLEMS:
1. ASCII type data stream receive not compatible in
Windows clients! so Choose your Client to not use
ASCII TYPE connection for upload transfers.use binary
instead.
2. dos Type file list not compatible with some clients
and may causes the vxworks os's exception.so use unix
style file list(already set to default in this file)
3. anonymous login is not fully tested.anonymous login
has been disabled in this file,see function
vxftAnonymousAllow for detail.
4. REST larger than 0 is not supported,so resume
uncompleted transfers is not supported yet.
***************************************************************************
近期下载者:
相关文件:
收藏者: