LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-12-2013, 04:59 AM   #1
mehrd@d
LQ Newbie
 
Registered: Jul 2013
Posts: 13

Rep: Reputation: Disabled
problem with ftp


hi friends
is there any thing I should do before using ftp command?
any config or update, any thing?
 
Old 08-12-2013, 05:12 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Quote:
Originally Posted by mehrd@d View Post
hi friends
is there any thing I should do before using ftp command?
any config or update, any thing?
Assuming you want to ftp from your box to another box and that an ftp client is installed: Nope.
Code:
ftp some.site.name
Depending on the client used you might be able to set some preferences, but they make life easier, they are not mandatory.

If the site you are trying to reach does not use anonymous logins then you do need a valid login (username and password) on that box.

Do have a look at this page: FTP mini-HOWTO
 
Old 08-12-2013, 05:42 AM   #3
mehrd@d
LQ Newbie
 
Registered: Jul 2013
Posts: 13

Original Poster
Rep: Reputation: Disabled
thanks druuna for youre attention to my post but I wantted to ftp applications source from websites to my linux(centos) but ftp command even dose not exist
I want installing or some way else to enable it?
 
Old 08-12-2013, 05:47 AM   #4
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Quote:
Originally Posted by mehrd@d View Post
... but ftp command even dose not exist
I want installing or some way else to enable it?
To install ftp on centos/rhel (as root user):
Code:
yum install ftp
ftp should now be installed and ready to use.
 
1 members found this post helpful.
Old 08-13-2013, 02:17 AM   #5
mehrd@d
LQ Newbie
 
Registered: Jul 2013
Posts: 13

Original Poster
Rep: Reputation: Disabled
thank you and i install my ftp with that command but when I use (ftp www.freshmeat.net) it shows me (ftp: www.freshmeat.net: Name or service not known)and of course I dont have ping from any site with name
I went throw the way below to config my DNS:
#nano /etc/resolv.conf
and then write two line such as:
nameserver 4.2.2.4
nameserver 8.8.8.8
ctrl+x and then y and then ok

but i still have both ping and ftp problem
is there any thing wrong with this or any thing I should add to my config?
 
Old 08-13-2013, 03:48 AM   #6
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
From what you describe in your previous post it looks like you have a network that isn't set up correctly.

You need to post some details in order for us to help you:

- Which CentOS version are you using (# cat /etc/*release* )?

- Are you running CentOS from a virtual machine?

- Can you post the output of the following 2 commands (as root user):
Code:
# system-config-network-cmd -e | grep -v HostsList

# cat /etc/hosts
 
Old 08-14-2013, 05:17 AM   #7
mehrd@d
LQ Newbie
 
Registered: Jul 2013
Posts: 13

Original Poster
Rep: Reputation: Disabled
its look fine after I restart it and I dont know why and about your question
I use version 6.0
and its(centos) run on vmware
and alot of output of that command like:
Devicelist.ethernet.eth0.allowUser=false
Devicelist.ethernet.eth0.Bootproto=none
Devicelist.ethernet.eth0.Device=eth0
Devicelist.ethernet.eth0.DviceId=eth0
Devicelist.ethernet.eth0.Gateway=192.168.1.254
Devicelist.ethernet.eth0.HardwareAddress=00:0C:29:59:35:E9
Devicelist.ethernet.eth0.IP=192.168.1.10
.
.
.
 
Old 08-14-2013, 05:24 AM   #8
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Quote:
Originally Posted by mehrd@d View Post
its look fine after I restart it and I dont know why
So, the issue is solved? If so, mark this thread as [SOLVED] (top right hand corner or use the Thread Tools menu).

Quote:
Originally Posted by mehrd@d
.. and I dont know why
Did you restart the network after changing the entries? You should.

Quote:
Originally Posted by mehrd@d
and about your question
I use version 6.0
and its(centos) run on vmware
and alot of output of that command like:
Devicelist.ethernet.eth0.allowUser=false
Devicelist.ethernet.eth0.Bootproto=none
Devicelist.ethernet.eth0.Device=eth0
Devicelist.ethernet.eth0.DviceId=eth0
Devicelist.ethernet.eth0.Gateway=192.168.1.254
Devicelist.ethernet.eth0.HardwareAddress=00:0C:29:59:35:E9
Devicelist.ethernet.eth0.IP=192.168.1.10
.
.
.
Posting only part of the output will not help one bit. There's also no output shown for the second command I asked for.

But then again; Who cares if this is solved after all, right?
 
1 members found this post helpful.
Old 08-14-2013, 05:42 AM   #9
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
Can I ajust add that it's worth looking at the lftp command if it's available to you. It's like ftp on steroids. If you ftp a lot to various places it saves a lot of time and effort.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] FTP Server behind NAT (IPtables) List FTP directories Problem turki_00 Linux - Newbie 5 02-05-2012 08:44 AM
FTP user problem (ln problem) geshuni Linux - Server 1 07-14-2011 01:44 PM
ftp from LInux to Serv-U ftp server problem csross Linux - General 2 11-07-2005 04:35 PM
problem with ftp on mandrake 10.1 Official, ftp speeds system wide (anybody noticed?) equinox Mandriva 15 11-10-2004 02:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration