how to cennct to ftp server

Please how to connect to ftp server in one command line including ligin and password ;ftp +login+passwd+host ?thank you
[140 byte] By [mouss111] at [2007-11-26 8:52:05]
# 1
Do a man on netrc if you need to script using ftp as I cant think of any other reason for doing a one liner. You can do macro definitions in the netrc.I don't know of any other way of using ftp as you ask.Stephen
stephen2602 at 2007-7-6 22:44:53 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...
# 2

... and stop posting your question many different times, to many different forums.

http://swforum.sun.com/jive/thread.jspa?threadID=102324

http://swforum.sun.com/jive/thread.jspa?threadID=102325

Keep in mind that Stephen's response may just not work where you want it to work.

Some FTP servers are configured so that they require

separate actions to be completed before the next action can be done.

Some add additional layers of security, while some do not.

next, you might get your connection working,

before you think about using it for a FTP session.

http://swforum.sun.com/jive/thread.jspa?threadID=102120&messageID=348956

rukbat at 2007-7-6 22:44:54 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...
# 3
yes i want to make a script to connect with ftp : !!!!!!!!
mouss111 at 2007-7-6 22:44:54 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...
# 4
If you just want to get stuff of a ftp server, not upload stuff then you can use wget.You'll probably have to install it off sunfreeware or compile it yourself.
robertcohen at 2007-7-6 22:44:54 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...
# 5
excuses me; but the ftp works ; if i do in terminal ftp host then i gine the login and the passwd;i want just make a script that make the connection automatiquely
mouss111 at 2007-7-6 22:44:54 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...
# 6
wget "ftp://login:passwd@host/filename" will that help... what are you trying to do ?
pradhap at 2007-7-6 22:44:54 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...