- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, All!
The FTP server in the uClinux of our Nios II platform has worked successfully. But when I use the FlashFXP ftp client to list the exist file in the ftp server, I can't see anything. In actually, there are some files in the FTP server. If I access the FTP server in the MS-DOS mode, everything is OK! Could anybody tell me WHY!!!Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
May i know how you access it in ms-dos prompt?
C:\Documents and Settings\JWLAM>ftp 192.168.1.12
Connected to 192.168.1.12.
220- Welcome to the uClinux ftpd!
220 uClinux FTP server (GNU inetutils 1.4.1) ready.
User (192.168.1.12:(none)): ftp
500 'USER ftp': command not understood.
Login failed.
ftp> quit
500 'USER ftp': command not understood.
C:\Documents and Settings\JWLAM>
i keep getting this error no matter wat i input. Pls advise. Thx!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I got the iniche to work with the ucossi.
I am trying to start the FTP server.
I get strange answers such as
PS C:\Users\123> ftp 192.168.xxx.xxx
Connected to 192.168.xxx.xxx.
220 Service ready
500 Unsupported command
User (192.168.xxx.xxx:(none)): guest
Connection closed by remote host.
PS C:\Users\123> ftp 192.168.xxx.xxx
Connected to 192.168.xxx.xxx.
220 Service ready
500 Unsupported command
User (192.168.xxx.xxx:(none)): anonymous
Connection closed by remote host
I am not sure why it is doing that.
I do not have any sample code to get this to work.
Essentially I figured out how to get the FTP_SERVER preprocessor define into the bsp, then added a call to ftps_init();
There may be more I need to do.
Any suggestions would help thanks.
Martin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- originally posted by jwlam@Mar 2 2007, 12:06 AM may i know how you access it in ms-dos prompt?
c:\documents and settings\jwlam>ftp 192.168.1.12
connected to 192.168.1.12.
220- welcome to the uclinux ftpd!
220 uclinux ftp server (gnu inetutils 1.4.1) ready.
user (192.168.1.12:(none)): ftp
500 'user ftp': command not understood.
login failed.
ftp> quit
500 'user ftp': command not understood.
c:\documents and settings\jwlam>
i keep getting this error no matter wat i input. pls advise.
thx!
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=21955)</div> --- Quote End --- In MS-DOS mode: ftp 192.168.0.192 Connected to 192.168.0.192. 220- Welcome to the uClinux ftpd! 220 uClinux FTP server (GNU inetutils 1.4.1) ready. User (192.168.0.192:(none)): anonymous 331 Guest login ok, type your name as password. Password: 230 Guest login ok, access restrictions apply. ftp> ls 200 PORT command sucessful. 550 No files found. ftp> quit 221 Goodbye.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ftp 192.168.1.12
Connected to 192.168.1.12.
220- Welcome to the uClinux ftpd!
220 uClinux FTP server (GNU inetutils 1.4.1) ready.
User (192.168.1.12:(none)): anonymous
500 'USER anonymous': command not understood.
Login failed.
ftp> quit
500 'USER anonymous': command not understood.
/> netstat -a
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 *:http *:* LISTEN
tcp 0 0 *:ftp *:* LISTEN
tcp 0 0 *:telnet *:* LISTEN
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags Type State I-Node Path
/> cat /etc/group
root:x:0:
ftp:x:50:
/> cat /etc/passwd
root:x:0:0:root:/:/bin/sh
ftp:x:14:50:FTP User:/home/ftp:
/>
Thx!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi ganssle,
i can login to the ftp server now. but i also cant list files. have u found any solution to that? Regards- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page