Now, already run under the passive pattern, as I reading and revised the source code.
ftpd.c 1,293 lines
====Original================================================
1293 printf(" (%d,%d,%d,%d,%d,%d)\r\n", UC(a[0]),
1294 UC(a[1]), UC(a[2]), UC(a[3]), UC(p[0]), UC(p[1]));
=========================================================
====Modified===============================================
1293 printf(" (%d,%d,%d,%d,%d,%d)\r\n", 1,
1294 2,3,4, UC(p[0]), UC(p[1]));
/* if 1.2.3.4 is my IP */
=========================================================
Upload, Download all runs correctly.
so I thought the passive pattern may run, only is any place disposition is not correct.
About is unable the display files question, you should examine the /etc/passwd file .
for example :
===passwd=================================================
.......
mail:x:8:12:mail:/var/spool/mail:
ftp:x:14:50:FTP User:/mnt/cf:
nobody:x:99:99:Nobody:/:
.......
=========================================================
you should copy it as :
/mnt/cf/bin/ls
when I run the ftp for the first time , I also cant see any files
http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/happy.gif .
and if the passive not worded , you'd better check the DNS's setting , maybe it not correct .
My English is not good, please forgives .
Thanks for your reply.