ftp command not found

5,249 views
Skip to first unread message

Panchal..Chetan

unread,
Jan 2, 2012, 2:14:54 AM1/2/12
to vglug
Dear All,

I am installed vsftpd packege in my Rhel6.1 server but when i am using ftp command its output is
#ftp localhost
bash: ftp: command not found.

please help me.


--
Thanks and regards,

Chetan Panchal
P Please don't print this e-mail unless you really need to.

Tejas Barot

unread,
Jan 2, 2012, 3:56:05 AM1/2/12
to VGLUG
Hello,

Install ftp rpm for that command.

You'll find it into installation cd/dvd.

Hope this helps...
--
Thanks & Regards,
Tejas Barot
Linux Administrator,
Red Hat Certified Engineer,
Linux Blog:- http://www.tejasbarot.com
Open Source :- http://opensource.tejasbarot.com
Planet VGLUG :- http://planet-vglug.tejasbarot.com

"Now-a-days, Life and than after Time is Most Important,
Then why to invest both in WinowsZ and Viruses ???
Invest Valuable Life and Time in Linux, Use Linux and Open Source" - Tejas Barot

Like My quote ? To Read and Submit More Linux Quotes :- http://linux-quotes.tejasbarot.com

Registered Linux User :- https://linuxcounter.net/user/507586.html

Sent on my BlackBerry® from Vodafone

From: "Panchal..Chetan" <panchal...@gmail.com>
Date: Mon, 2 Jan 2012 12:44:54 +0530
Subject: [VGLUG] ftp command not found
--
Please read http://www.catb.org/~esr/faqs/smart-questions.html before posting.
You received this message because you are subscribed to the "Vibrant GNU/Linux User Group".
To stop receiving emails from this group, mail to VGLUG+un...@googlegroups.com
To post to this group, send email to VG...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/VGLUG

Nishith Vyas

unread,
Jan 2, 2012, 3:44:35 AM1/2/12
to vg...@googlegroups.com
"Command Not Found" means you don't have "executable ftp" inside /use/bin/ or /usr/sbin/ directory location.

Try to use "which ftp" & show the result. Like mine is having "/usr/bin/ftp"


- Nishith

BHARAT INANI

unread,
Jan 2, 2012, 3:36:25 AM1/2/12
to vg...@googlegroups.com
Hello chetan,

As per your problem first check that ftp package install or not, if no then follow this command:

# yum install ftp

after this command completion i think your problem will be solved........

Thanks and Regards,

Bharat Prakash Inani

On Mon, Jan 2, 2012 at 12:44 PM, Panchal..Chetan <panchal...@gmail.com> wrote:

Chandrakant Solanki

unread,
Jan 2, 2012, 4:18:53 AM1/2/12
to vg...@googlegroups.com
Hi,

First try with

# yum -y install vsftpd
# which ftp
--
Regards,

Chandrakant Solanki

Sham Arsiwala

unread,
Jan 2, 2012, 4:44:38 AM1/2/12
to vg...@googlegroups.com
As per your command every one said to install ftp package, that is right, but for your understanding, vsftpd is a server package which allows you to create ftp server, where as your command that you are trying to execute is a ftp client which is not a part of vsftpd pkg, 

You can also use any gui client to check your ftp server like filezilla. 

And as suggested by every one to install pkg ftp to get the client installed.

Hope this helps you. 
Regards

Sham

Panchal..Chetan

unread,
Jan 2, 2012, 4:29:56 AM1/2/12
to vglug
Dear All,

My problem solved after  installing ftp.i686 rpm .

[root@chetanpanchal /]# yum install ftp
Loaded plugins: product-id, refresh-packagekit, subscription-manager
Updating Red Hat repositories.                                      
Setting up Install Process                                          
Resolving Dependencies                                              
--> Running transaction check                                       
---> Package ftp.i686 0:0.17-51.1.el6 will be installed             
--> Finished Dependency Resolution                                  

Dependencies Resolved

================================================================================
 Package       Arch           Version                    Repository        Size 
================================================================================
Installing:                                                                     
 ftp           i686           0.17-51.1.el6              Server            55 k 

Transaction Summary
================================================================================
Install       1 Package(s)                                                      

Total download size: 55 k
Installed size: 91 k     
Is this ok [y/N]: y      
Downloading Packages:    
Running rpm_check_debug  
Running Transaction Test 
Transaction Test Succeeded
Running Transaction       
  Installing : ftp-0.17-51.1.el6.i686                                       1/1 
duration: 578(ms)
Installed products updated.

Installed:
  ftp.i686 0:0.17-51.1.el6

Complete!
[root@chetanpanchal /]# ftp
ftp      ftp-rfc

[root@chetanpanchal chetan]# ftp localhost
Trying ::1...
ftp: connect to address ::1Connection refused
Trying 127.0.0.1...
Connected to localhost (127.0.0.1).
220 (vsFTPd 2.2.2)
Name (localhost:root): chetan
331 Please specify the password.
Password:
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp>bye

Thanks to all .

Nishith Vyas

unread,
Jan 2, 2012, 4:07:52 AM1/2/12
to vg...@googlegroups.com
Hello,

Considering you are using 32 bit version, follow below steps to 100% resolution. (except any dependency.....LOL)

Download "ftp" rpm from your console using below command.
wget http://mirror.centos.org/centos/6/os/i386/Packages/ftp-0.17-51.1.el6.i686.rpm

Then, install it using below command.
rpm -ivh ftp-0.17-51.1.el6.i686.rpm


-Nishith N.Vyas
Reply all
Reply to author
Forward
0 new messages