That version of ftp is just not very good at error reporting.
It will be failing to resolve ftp.sbctools.com

Try 'ping ftp.scbtools.com' and you will see.

Try with the IP address instead:
# ftp 67.55.39.12

Cheers,
Steve

On 04/05/2007, at 9:11 AM, Bob Furber wrote:

I am having difficulty figuring out how to use ftp client to upload a file
from a uClinux target to server.

In fact, I am having difficulty figuring out how to log into a server and give it a username and password. Unlike Linux, uClinux does not request a
username and password.

# ftp ftp.sbctools.com
ftp: ftp.sbctools.com: ftp> user sbctools
ftp>

..connects, but, does not ask for username and password. But, now the trick
is to give the server a username and password.

# ftp ftp.sbctools.com
ftp: ftp.sbctools.com: ftp> user sbctools
Not connected
ftp>

This is the kind of Linux session I am trying to repicate from a uClinux
target:

[EMAIL PROTECTED] bin]$ ftp ftp.sbctools.com
Connected to ftp.sbctools.com (67.55.39.12).
220 ftp.sbctools.com FTP Server ready
Name (ftp.sbctools.com:intec): sbctools
331 Password required for sbctools.
Password:
230 User sbctools logged in.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> cd /var/www/html/downloads/V3
250 CWD command successful
ftp> ls
227 Entering Passive Mode (67,55,39,12,109,83).
150 Opening ASCII mode data connection for file list
-rw-r--r-- 1 sbctools sbctools 9979668 Mar 12 21:15 M5208EVBE_dbug.zip
  :
-rw-r--r-- 1 sbctools sbctools 667828 Apr 30 15:55 wildfire_iflash.s19
226 Transfer complete.
ftp> send partitionSD
local: partitionSD remote: partitionSD
227 Entering Passive Mode (67,55,39,12,109,23).
150 Opening BINARY mode data connection for partitionSD
226 Transfer complete.
129 bytes sent in 0.0345 secs (3.6 Kbytes/sec)
ftp> ls
227 Entering Passive Mode (67,55,39,12,109,83).
150 Opening ASCII mode data connection for file list
-rw-r--r-- 1 sbctools sbctools 9979668 Mar 12 21:15 M5208EVBE_dbug.zip
-rw-r--r--   1 sbctools sbctools      129 May  3 22:49 partitionSD
  :
-rw-r--r-- 1 sbctools sbctools 667828 Apr 30 15:55 wildfire_iflash.s19
226 Transfer complete.
ftp> close
221 Goodbye.
ftp> quit
[EMAIL PROTECTED] bin]$

Has anyone done this? Care to share?

Thanks,

Bob Furber


_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev



--
WorkWare Systems Pty Ltd
W: www.workware.net.au
P: 0434 921 300
F: 07 3102 9221
E: [EMAIL PROTECTED]


Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to