LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 05-07-2010, 11:31 PM   #1
S@R@H
Member
 
Registered: Apr 2010
Posts: 40

Rep: Reputation: 0
Question FTP


hi all

i am using linux and i want to use FTP for linux but its not working with me is there any file for modifying to work with FTP?
please help me out.thanks in advance.


sarah
 
Old 05-07-2010, 11:34 PM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
What distro (version) of Linux?

Are you referring to an FTP client or server? (i.e. do you want to connect to other sites, or do you want to have people connect to your computer?)

Have you installed any FTP software? (Using your package manager)
 
Old 05-07-2010, 11:38 PM   #3
S@R@H
Member
 
Registered: Apr 2010
Posts: 40

Original Poster
Rep: Reputation: 0
hi
thanks for reply i am using Enterprise linux version 5.2 and i want to use FTP in client not in server.
i want to copy some files from server to client and from client to server.is it possible?
i am newbie.and if possible then what version of FTP should be in client system?

sarah

Last edited by S@R@H; 05-07-2010 at 11:41 PM.
 
Old 05-07-2010, 11:43 PM   #4
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
OK--you need to answer ALL of the questions!!

Have you installed an FTP client? (Using the package manager)

(Yes, FTP will allow you to move files both ways (put and get) )
 
Old 05-07-2010, 11:51 PM   #5
S@R@H
Member
 
Registered: Apr 2010
Posts: 40

Original Poster
Rep: Reputation: 0
hi
i did not get u r answer that what file should i modify in linux?


sarah
 
Old 05-07-2010, 11:59 PM   #6
ajeetsinghraina
Member
 
Registered: May 2010
Location: India
Distribution: Ubuntu 7.04/8.04/8.10/10.04, RHEL 6, OpenSUSE,Mandriva,Fedora, CentOS, XandrOS, Slackware, OpenSolar
Posts: 155

Rep: Reputation: 55
Let me be little explanatory guys,

S@R@H,

To run:
[code
ftp ftpsite.<>.com
[/code]
You need to have ftp package installed.
For Example,
In Red Hat, vsftp is the package shipped.
So to check that, run the command:

Code:
rpm -qa vsftp
Once you discover that package is installed you can successfully run
the above command.

Now based on distros, you need to find out if ftp package is installed or not.
Then only you can modify the ftp based files.

Paste here your distribution name to help you further.
 
Old 05-08-2010, 12:00 AM   #7
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
To use FTP, you have to install an FTP client. For this, you would use the package manager. In RedHat, this may be in the menus---with a name of something like "install software" or "install applications"

Have you previously installed software from the official RedHat repositories?

Are you registered for support with RedHat?


(You don't "modify a file" to run FTP.)

AND--did you check to see if maybe FTP is already installed? In a terminal, do this:

Code:
su   # to become root
find /usr/bin -name "*ftp*"
 
Old 05-08-2010, 12:11 AM   #8
S@R@H
Member
 
Registered: Apr 2010
Posts: 40

Original Poster
Rep: Reputation: 0
[root@localhost ~]# find /usr/bin -name "*ftp*"
/usr/bin/gftp-gtk
/usr/bin/pftp
/usr/bin/tftp
/usr/bin/lftpget
/usr/bin/gftp-text
/usr/bin/sftp
/usr/bin/ftp
/usr/bin/lftp
/usr/bin/ftp-rfc
/usr/bin/gftp


i got the above result.

sarah
 
Old 05-08-2010, 12:13 AM   #9
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
OK---you have several ftp clients installed!!

Have you tried any of them?
 
Old 05-08-2010, 12:21 AM   #10
S@R@H
Member
 
Registered: Apr 2010
Posts: 40

Original Poster
Rep: Reputation: 0
yes i tried for filezila ftp but its not connecting.

sarah
 
Old 05-08-2010, 12:29 AM   #11
ajeetsinghraina
Member
 
Registered: May 2010
Location: India
Distribution: Ubuntu 7.04/8.04/8.10/10.04, RHEL 6, OpenSUSE,Mandriva,Fedora, CentOS, XandrOS, Slackware, OpenSolar
Posts: 155

Rep: Reputation: 55
What error its throwing?
When you run:

ftp <ftpsite.com>

What does it says?

Try downloading a file / upload and paste here the output.
 
Old 05-08-2010, 12:33 AM   #12
S@R@H
Member
 
Registered: Apr 2010
Posts: 40

Original Poster
Rep: Reputation: 0
hi

its showing *Could not connect to Server.

sarah
 
Old 05-08-2010, 12:38 AM   #13
ajeetsinghraina
Member
 
Registered: May 2010
Location: India
Distribution: Ubuntu 7.04/8.04/8.10/10.04, RHEL 6, OpenSUSE,Mandriva,Fedora, CentOS, XandrOS, Slackware, OpenSolar
Posts: 155

Rep: Reputation: 55
Check if you are able to ping the machine.

Also,Are you providing username while ftp command
ftp username@ftpsite.com
Also, in /etc/ftp.allow

Comment root entry.Sometimes it doesnt allow you to ftp through root.

Last edited by ajeetsinghraina; 05-08-2010 at 12:44 AM.
 
Old 05-08-2010, 12:46 AM   #14
S@R@H
Member
 
Registered: Apr 2010
Posts: 40

Original Poster
Rep: Reputation: 0
hi

i did not find this ftp.allow in etc directory.
i think i need to modify something in the linux but what
should i modify i do not remember.
is there any file that should be modified to work wrk on
ftp?

sarah
 
Old 05-08-2010, 12:46 AM   #15
ajeetsinghraina
Member
 
Registered: May 2010
Location: India
Distribution: Ubuntu 7.04/8.04/8.10/10.04, RHEL 6, OpenSUSE,Mandriva,Fedora, CentOS, XandrOS, Slackware, OpenSolar
Posts: 155

Rep: Reputation: 55
Also, Check if the ftp port at server is opened or not.
Use nmap command if package is available:
Code:
nmap -vv <serverIP>
Look for 20/21 port if it shows open status.
 
  


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
when I use ftp://user@ftp.blah.com it works. But when I type just ftp.blah.com says.. hunterhunter Linux - General 15 03-05-2014 09:12 AM
Read a text file and ftp files using bash w/out leaving the ftp prompt dj_tyr Linux - Newbie 6 10-12-2009 06:46 PM
In plesk , I wish to have a backup cron job, ftp back up file to another ftp server? muskiediver Linux - General 6 07-16-2009 03:13 AM
FTP Server Up and running... how do I hide ftp users from local login screen? joe1031 Mandriva 2 03-18-2005 04:24 PM
problem with ftp on mandrake 10.1 Official, ftp speeds system wide (anybody noticed?) equinox Mandriva 15 11-10-2004 02:07 PM


All times are GMT -5. The time now is 02:17 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