LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-08-2010, 10:28 AM   #1
Poweredge
LQ Newbie
 
Registered: Aug 2010
Posts: 2

Rep: Reputation: 0
Question ftp command not found


Hi all,

Using fedora, when I try "ftp" I get command not found.

I have tried "which ftp" and and get "no ftp in" then the bin dir's.

I have tried the "locate ftp" but also can't see it:

I see lftp, but never heard of it before, is this new and replaced ftp.

Thanks

Code:
locate ftp
/etc/lftp.conf
/etc/selinux/targeted/modules/active/modules/ftp.pp
/etc/selinux/targeted/modules/active/modules/tftp.pp
/lib/modules/2.6.33.3-85.fc13.i686/kernel/net/ipv4/netfilter/nf_nat_ftp.ko
/lib/modules/2.6.33.3-85.fc13.i686/kernel/net/ipv4/netfilter/nf_nat_tftp.ko
/lib/modules/2.6.33.3-85.fc13.i686/kernel/net/netfilter/nf_conntrack_ftp.ko
/lib/modules/2.6.33.3-85.fc13.i686/kernel/net/netfilter/nf_conntrack_tftp.ko
/lib/modules/2.6.33.3-85.fc13.i686/kernel/net/netfilter/ipvs/ip_vs_ftp.ko
/lib/security/pam_ftp.so
/usr/bin/lftp
/usr/bin/lftpget
/usr/bin/ncftp
/usr/bin/ncftpbatch
/usr/bin/ncftpbookmarks
/usr/bin/ncftpget
/usr/bin/ncftpls
/usr/bin/ncftpput
/usr/bin/ncftpspooler
/usr/bin/sftp
/usr/include/arpa/ftp.h
/usr/include/arpa/tftp.h
/usr/include/linux/netfilter/nf_conntrack_ftp.h
/usr/lib/lftp
/usr/lib/liblftp-jobs.so.0
/usr/lib/liblftp-jobs.so.0.0.0
/usr/lib/liblftp-tasks.so.0
/usr/lib/liblftp-tasks.so.0.0.0
/usr/lib/gnome-vfs-2.0/modules/libftp.so
/usr/lib/gnome-vfs-2.0/modules/libsftp.so
/usr/lib/httpd/modules/mod_proxy_ftp.so
/usr/lib/lftp/4.0.5
/usr/lib/lftp/4.0.5/cmd-mirror.so
/usr/lib/lftp/4.0.5/cmd-sleep.so
/usr/lib/lftp/4.0.5/cmd-torrent.so
/usr/lib/lftp/4.0.5/liblftp-network.so
/usr/lib/lftp/4.0.5/liblftp-pty.so
/usr/lib/lftp/4.0.5/proto-file.so
/usr/lib/lftp/4.0.5/proto-fish.so
/usr/lib/lftp/4.0.5/proto-ftp.so
/usr/lib/lftp/4.0.5/proto-http.so
/usr/lib/lftp/4.0.5/proto-sftp.so
/usr/lib/python2.6/ftplib.py
/usr/lib/python2.6/ftplib.pyc
/usr/lib/python2.6/ftplib.pyo
/usr/lib/python2.6/site-packages/duplicity/backends/ftpbackend.py
/usr/lib/python2.6/site-packages/duplicity/backends/ftpbackend.pyc
/usr/lib/python2.6/site-packages/duplicity/backends/ftpbackend.pyo
/usr/lib/python2.6/site-packages/sos/plugins/ftp.py
/usr/lib/python2.6/site-packages/sos/plugins/ftp.pyc
/usr/lib/python2.6/site-packages/sos/plugins/ftp.pyo
/usr/lib/python2.6/site-packages/sos/plugins/tftpserver.py
/usr/lib/python2.6/site-packages/sos/plugins/tftpserver.pyc
/usr/lib/python2.6/site-packages/sos/plugins/tftpserver.pyo
/usr/libexec/gvfsd-ftp
/usr/libexec/gvfsd-obexftp
/usr/libexec/gvfsd-sftp
/usr/libexec/openssh/sftp-server
/usr/share/doc/lftp-4.0.5
/usr/share/doc/ncftp-3.2.3
/usr/share/doc/avahi-0.6.25/sftp-ssh.service
/usr/share/doc/lftp-4.0.5/BUGS
/usr/share/doc/lftp-4.0.5/COPYING
/usr/share/doc/lftp-4.0.5/ChangeLog
/usr/share/doc/lftp-4.0.5/FAQ
/usr/share/doc/lftp-4.0.5/FEATURES
/usr/share/doc/lftp-4.0.5/NEWS
/usr/share/doc/lftp-4.0.5/README
/usr/share/doc/lftp-4.0.5/README.debug-levels
/usr/share/doc/lftp-4.0.5/README.dnssec
/usr/share/doc/lftp-4.0.5/README.modules
/usr/share/doc/lftp-4.0.5/THANKS
/usr/share/doc/lftp-4.0.5/TODO
/usr/share/doc/ncftp-3.2.3/CHANGELOG.txt
/usr/share/doc/ncftp-3.2.3/FIREWALLS_AND_PROXIES.txt
/usr/share/doc/ncftp-3.2.3/LICENSE.txt
/usr/share/doc/ncftp-3.2.3/READLINE.txt
/usr/share/doc/ncftp-3.2.3/README.txt
/usr/share/doc/ncftp-3.2.3/html
/usr/share/doc/ncftp-3.2.3/what_changed_between_v2_v3.txt
/usr/share/doc/ncftp-3.2.3/html/index.html
/usr/share/doc/ncftp-3.2.3/html/ncftp.html
/usr/share/doc/ncftp-3.2.3/html/ncftpbatch.html
/usr/share/doc/ncftp-3.2.3/html/ncftpget.html
/usr/share/doc/ncftp-3.2.3/html/ncftpls.html
/usr/share/doc/ncftp-3.2.3/html/ncftpput.html
/usr/share/doc/ncftp-3.2.3/html/ncftpspooler.html
/usr/share/doc/nss_ldap-264/pam.d/ftp
/usr/share/doc/pam-1.1.1/html/sag-pam_ftp.html
/usr/share/doc/pam-1.1.1/txts/README.pam_ftp
/usr/share/doc/python-pycurl-7.19.0/tests/test_ftp.py
/usr/share/gvfs/mounts/ftp.mount
/usr/share/gvfs/mounts/obexftp.mount
/usr/share/gvfs/mounts/sftp.mount
/usr/share/icons/Crux/16x16/places/gnome-fs-ftp.png
/usr/share/icons/Crux/22x22/places/gnome-fs-ftp.png
/usr/share/icons/Crux/24x24/places/gnome-fs-ftp.png
/usr/share/icons/Crux/32x32/places/gnome-fs-ftp.png
/usr/share/icons/Crux/scalable/places/gnome-fs-ftp.svg
/usr/share/icons/HighContrast-SVG/scalable/places/gnome-fs-ftp.svg
/usr/share/icons/HighContrastLargePrint/48x48/places/gnome-fs-ftp.png
/usr/share/icons/HighContrastLargePrintInverse/48x48/places/gnome-fs-ftp.png
/usr/share/icons/Mist/16x16/places/gnome-fs-ftp.png
/usr/share/icons/Mist/22x22/places/gnome-fs-ftp.png
/usr/share/icons/Mist/24x24/places/gnome-fs-ftp.png
/usr/share/icons/Mist/256x256/places/gnome-fs-ftp.png
/usr/share/icons/Mist/32x32/places/gnome-fs-ftp.svg
/usr/share/icons/Mist/48x48/places/gnome-fs-ftp.png
/usr/share/icons/gnome/16x16/places/gnome-fs-ftp.png
/usr/share/icons/gnome/22x22/places/gnome-fs-ftp.png
/usr/share/icons/gnome/24x24/places/gnome-fs-ftp.png
/usr/share/icons/gnome/256x256/places/gnome-fs-ftp.png
/usr/share/icons/gnome/32x32/places/gnome-fs-ftp.png
/usr/share/icons/gnome/48x48/places/gnome-fs-ftp.png
/usr/share/locale/cs/LC_MESSAGES/lftp.mo
/usr/share/locale/de/LC_MESSAGES/lftp.mo
/usr/share/locale/es/LC_MESSAGES/lftp.mo
/usr/share/locale/fr/LC_MESSAGES/lftp.mo
/usr/share/locale/it/LC_MESSAGES/lftp.mo
/usr/share/locale/ja/LC_MESSAGES/lftp.mo
/usr/share/locale/ko/LC_MESSAGES/lftp.mo
/usr/share/locale/pl/LC_MESSAGES/lftp.mo
/usr/share/locale/pt_BR/LC_MESSAGES/lftp.mo
/usr/share/locale/ru/LC_MESSAGES/lftp.mo
/usr/share/locale/zh_CN/LC_MESSAGES/lftp.mo
/usr/share/locale/zh_HK/LC_MESSAGES/lftp.mo
/usr/share/locale/zh_TW/LC_MESSAGES/lftp.mo
/usr/share/man/man1/lftp.1.gz
/usr/share/man/man1/lftpget.1.gz
/usr/share/man/man1/ncftp.1.gz
/usr/share/man/man1/ncftpbatch.1.gz
/usr/share/man/man1/ncftpget.1.gz
/usr/share/man/man1/ncftpls.1.gz
/usr/share/man/man1/ncftpput.1.gz
/usr/share/man/man1/ncftpspooler.1.gz
/usr/share/man/man1/sftp.1.gz
/usr/share/man/man8/ftpd_selinux.8.gz
/usr/share/man/man8/pam_ftp.8.gz
/usr/share/man/man8/sftp-server.8.gz
/usr/share/man/ru/man8/ftpd_selinux.8.gz
/usr/share/selinux/devel/include/services/ftp.if
/usr/share/selinux/devel/include/services/tftp.if
/usr/share/selinux/targeted/ftp.pp.bz2
/usr/share/selinux/targeted/tftp.pp.bz2
/usr/share/setroubleshoot/plugins/allow_ftpd_anon_write.py
/usr/share/setroubleshoot/plugins/allow_ftpd_anon_write.pyc
/usr/share/setroubleshoot/plugins/allow_ftpd_anon_write.pyo
/usr/share/setroubleshoot/plugins/allow_ftpd_full_access.py
/usr/share/setroubleshoot/plugins/allow_ftpd_full_access.pyc
/usr/share/setroubleshoot/plugins/allow_ftpd_full_access.pyo
/usr/share/setroubleshoot/plugins/allow_ftpd_use_cifs.py
/usr/share/setroubleshoot/plugins/allow_ftpd_use_cifs.pyc
/usr/share/setroubleshoot/plugins/allow_ftpd_use_cifs.pyo
/usr/share/setroubleshoot/plugins/allow_ftpd_use_nfs.py
/usr/share/setroubleshoot/plugins/allow_ftpd_use_nfs.pyc
/usr/share/setroubleshoot/plugins/allow_ftpd_use_nfs.pyo
/usr/share/setroubleshoot/plugins/ftp_home_dir.py
/usr/share/setroubleshoot/plugins/ftp_home_dir.pyc
/usr/share/setroubleshoot/plugins/ftp_home_dir.pyo
/usr/share/setroubleshoot/plugins/ftpd_is_daemon.py
/usr/share/setroubleshoot/plugins/ftpd_is_daemon.pyc
/usr/share/setroubleshoot/plugins/ftpd_is_daemon.pyo
/usr/share/setroubleshoot/plugins/httpd_enable_ftp_server.py
/usr/share/setroubleshoot/plugins/httpd_enable_ftp_server.pyc
/usr/share/setroubleshoot/plugins/httpd_enable_ftp_server.pyo
/usr/share/setroubleshoot/plugins/tftpd_write_content.py
/usr/share/setroubleshoot/plugins/tftpd_write_content.pyc
/usr/share/setroubleshoot/plugins/tftpd_write_content.pyo
/var/lib/yum/yumdb/g/8831ae7fff13edf57bbf455ce15d79405a40e89b-gvfs-obexftp-1.6.1-1.fc13-i686
/var/lib/yum/yumdb/g/8831ae7fff13edf57bbf455ce15d79405a40e89b-gvfs-obexftp-1.6.1-1.fc13-i686/checksum_data
/var/lib/yum/yumdb/g/8831ae7fff13edf57bbf455ce15d79405a40e89b-gvfs-obexftp-1.6.1-1.fc13-i686/checksum_type
/var/lib/yum/yumdb/g/8831ae7fff13edf57bbf455ce15d79405a40e89b-gvfs-obexftp-1.6.1-1.fc13-i686/from_repo
/var/lib/yum/yumdb/g/8831ae7fff13edf57bbf455ce15d79405a40e89b-gvfs-obexftp-1.6.1-1.fc13-i686/from_repo_revision
/var/lib/yum/yumdb/g/8831ae7fff13edf57bbf455ce15d79405a40e89b-gvfs-obexftp-1.6.1-1.fc13-i686/from_repo_timestamp
/var/lib/yum/yumdb/g/8831ae7fff13edf57bbf455ce15d79405a40e89b-gvfs-obexftp-1.6.1-1.fc13-i686/reason
/var/lib/yum/yumdb/g/8831ae7fff13edf57bbf455ce15d79405a40e89b-gvfs-obexftp-1.6.1-1.fc13-i686/releasever
/var/lib/yum/yumdb/l/9868cd8408ecf8829b388492d9239c3c97b4eb75-lftp-4.0.5-2.fc13-i686
/var/lib/yum/yumdb/l/9868cd8408ecf8829b388492d9239c3c97b4eb75-lftp-4.0.5-2.fc13-i686/checksum_data
/var/lib/yum/yumdb/l/9868cd8408ecf8829b388492d9239c3c97b4eb75-lftp-4.0.5-2.fc13-i686/checksum_type
/var/lib/yum/yumdb/l/9868cd8408ecf8829b388492d9239c3c97b4eb75-lftp-4.0.5-2.fc13-i686/from_repo
/var/lib/yum/yumdb/l/9868cd8408ecf8829b388492d9239c3c97b4eb75-lftp-4.0.5-2.fc13-i686/from_repo_revision
/var/lib/yum/yumdb/l/9868cd8408ecf8829b388492d9239c3c97b4eb75-lftp-4.0.5-2.fc13-i686/from_repo_timestamp
/var/lib/yum/yumdb/l/9868cd8408ecf8829b388492d9239c3c97b4eb75-lftp-4.0.5-2.fc13-i686/reason
/var/lib/yum/yumdb/l/9868cd8408ecf8829b388492d9239c3c97b4eb75-lftp-4.0.5-2.fc13-i686/releasever
/var/lib/yum/yumdb/n/765708fd2529c45ab0a3fdc674d9dcf076159ca0-ncftp-3.2.3-1.fc13-i686
/var/lib/yum/yumdb/n/765708fd2529c45ab0a3fdc674d9dcf076159ca0-ncftp-3.2.3-1.fc13-i686/checksum_data
/var/lib/yum/yumdb/n/765708fd2529c45ab0a3fdc674d9dcf076159ca0-ncftp-3.2.3-1.fc13-i686/checksum_type
/var/lib/yum/yumdb/n/765708fd2529c45ab0a3fdc674d9dcf076159ca0-ncftp-3.2.3-1.fc13-i686/from_repo
/var/lib/yum/yumdb/n/765708fd2529c45ab0a3fdc674d9dcf076159ca0-ncftp-3.2.3-1.fc13-i686/from_repo_revision
/var/lib/yum/yumdb/n/765708fd2529c45ab0a3fdc674d9dcf076159ca0-ncftp-3.2.3-1.fc13-i686/from_repo_timestamp
/var/lib/yum/yumdb/n/765708fd2529c45ab0a3fdc674d9dcf076159ca0-ncftp-3.2.3-1.fc13-i686/reason
/var/lib/yum/yumdb/n/765708fd2529c45ab0a3fdc674d9dcf076159ca0-ncftp-3.2.3-1.fc13-i686/releasever
 
Old 08-08-2010, 10:43 AM   #2
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 3,304
Blog Entries: 1

Rep: Reputation: 686Reputation: 686Reputation: 686Reputation: 686Reputation: 686Reputation: 686
ncftp is a popular one.

in debian you could find it like this:

$ which ftp
/usr/bin/ftp

$ apt-file find /usr/bin/ftp
(which oddly doesn't find it.)

$ ls -l /usr/bin/ftp
/usr/bin/ftp -> /etc/alternatives/ftp

$ ls -l /etc/alternatives/ftp
/etc/alternatives/ftp -> /usr/bin/ftp-ssl

$ apt-file find /usr/bin/ftp-ssl
ftp-ssl: /usr/bin/ftp-ssl

# apt-get install ftp-ssl

So basically /usr/bin/ftp is a symlink to ftp-ssl located in package ftp-ssl. Or just install a gui like gftp and use a mouse. But then again apt-file isn't installed by default iirc.

# apt-get install apt-file
# apt-file update

And probably not of much use for Fedora.
 
0 members found this post helpful.
Old 08-08-2010, 12:55 PM   #3
zootboy
Member
 
Registered: Nov 2008
Location: In a dumpster, with my laptop.
Distribution: Fedora
Posts: 124

Rep: Reputation: 25
In Fedora, make sure that you've got ftp installed. Try this command:

"sudo yum install ftp"
 
Old 08-08-2010, 01:19 PM   #4
Poweredge
LQ Newbie
 
Registered: Aug 2010
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks for the replies.

@Zootboy just so I understand that command, was the install file already on my machine, or did that command serach for it and then install it, I have only installed a program before by download then using rpm -i command.

Thanks
 
Old 08-08-2010, 02:44 PM   #5
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,186

Rep: Reputation: 346Reputation: 346Reputation: 346Reputation: 346
On my Fedora system:
Code:
$ which ftp
/usr/bin/ftp
And, yes, Zootboy was describing how to install a program from the repositories. The procedure you describe is the hard way to do it.
 
Old 08-08-2010, 03:53 PM   #6
zootboy
Member
 
Registered: Nov 2008
Location: In a dumpster, with my laptop.
Distribution: Fedora
Posts: 124

Rep: Reputation: 25
Yes, Yum is the rpm installer and updater for Fedora. It will download, install and update packages from the fedora repositories. These are mirrored all over the internet, and yum has a list of these mirrors.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ftp command not found s0n|k Linux - Newbie 3 05-02-2012 09:11 PM
setup command not found in Ubuntu 10.04 Command Prompt vinaytp Ubuntu 2 05-06-2010 02:10 PM
ftp:command not found?????????? OkKid Mandriva 3 03-12-2008 01:09 PM
FTP Command Line (Scripting Multiple FTP gets) Critcho Linux - Software 3 01-05-2007 12:57 AM
bash: rpm: command not found && sudo: alien: command not found Java_Code Ubuntu 7 07-28-2006 12:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:13 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration