- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hello , now I have ran the ftp server by ftpd . when I login by flashFXP in passive mode , I found :
====================================================== - ............ - PASV - 227 Entering Passive Mode (0,0,0,0,12,1) - Opening data connection IP: 0.0.0.0 PORT: 3073 - Unable connect to 0.0.0.0:3073 (Can't Assign Requested Address(10049)) - ............ ====================================================== why is "227......(0,0,0,0,...,...)"? there is four zero . the files failed to transfer. Can someone help me? Thanks a lot.Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I think that you cannot use passive mode.
I do not understand the ftp server very well, but I can log into it, and upload to it, but I cannot see files, or download files that I "know" are there. I wrote a program that ftp's into my linux board, I had to use active mode for it to work correctly. Passive never worked for me. Good luck. SmartFTP logs in just fine btw- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page