How to ftp from linux

Hi,

I have ftp address like below

ftp://user:password@ee.com

I want to upload one file from my linux machine to above ftp site. How can I login, change mode to binary and upload file to this site?

Thanks.
James BondSoftware ProfessionalAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

James BondSoftware ProfessionalAuthor Commented:
ftp://user:password@ee.com is just a site for example and not a real site. Thanks.
0
Garry GlendownConsulting and Network/Security SpecialistCommented:
$ ftp ee.com
Name: user    <- from the URL
Password: password    <- from the URL
ftp> bin
ftp> cd DESTINATINDIRECTORY
ftp> put FILENAME_TO_TRANSFER
ftp> quit

Open in new window


(depending on the server and your link, you might need something like "passive off" after logging in)
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
James BondSoftware ProfessionalAuthor Commented:
I get this error

ftp: Name or service not known
0
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

Garry GlendownConsulting and Network/Security SpecialistCommented:
Either you have the wrong destination address ("ee.com" in this case) which doesn't exist, or your name resolver/DNS lookup doesn't work ... I assume doing "ping ee.com" (or whatever the server address is that you have) doesn't work and results in something like "ping: unknown host ee.com" ... try some well-known address, e.g. "ping cnn.com" ... if that also results in the "unknown host", your lookup/DNS is broken or unconfigured ... if that works, the address you have is wrong ...
0
wvuser1Commented:
You could try enter this command:
sudo apt-get install ftp

Open in new window

To install ftp client, and then follow Garry's recomendation..
(Hope the linux distro is the one i imagined ^^)
0
Garry GlendownConsulting and Network/Security SpecialistCommented:
Actually I guess FTP client is already installed, otherwise he would have gotten something like "-bash: ftp: command not found
" ... ;)
0
wvuser1Commented:
ahh, right; my bad ^^
0
Gerwin Jansen, EE MVETopic Advisor Commented:
Try connecting to a known site like the McAfee FTP site, using name and ip:
ftp ftp.mcafee.com
Connected to ftp.mcafee.com.
220 ProFTPD 1.3.3 Server ready.
...

Open in new window

or:
ftp 32.58.157.237
Connected to 32.58.157.237.
220 ProFTPD 1.3.3 Server ready.
...

Open in new window

Can you connect?
0
James BondSoftware ProfessionalAuthor Commented:
Thanks.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.