Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> Understanding Ftp
CanMike
post Apr 28 2005, 06:30 AM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 16
Joined: 31-March 05
Member No.: 4,810



This is my world: RedHat Enterprise Linux V4

I really having trouble getting my FTP applications to work.

I started by checking to see what FTP app I'm running:

According to 'Red Hat Linux Bible' I issued, as root:

# rpm -qa wu-ftpd --> nothing returned
# rpm -qa vsftpd --> nothing returned

So I guess that means I'm not going to be able to use those apps.

Yet, when I issued the command:

FTP it returns the prompt '>', which is a FTP waiting for a command.

The name of my machine in 'mlinux' and when I issue the command:

ftp mlinux --> it returns
fpt: connect: Connection refused

So I'm running something, right?

Does anybody have any ideas about how I go about tracking down:

1: Which FTP App is running on my box.
2: How do I get it up and running.

Right now to transport SQL's (that deal with file systems), between my Windows XP Pro box and my Linux box I burn a CD. Ready stupid when I have WS-FTP running on my window box just waiting to transfer files.

Any advise would be appreciated.

Mike Parish, Toronto Canada
Go to the top of the page
 
+Quote Post
Robert83
post Apr 28 2005, 07:22 AM
Post #2


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,439
Joined: 3-January 04
From: Germany
Member No.: 2,069



Hi,

you will first need to install a ftp server, a good one would be vsftpd

using up2date install it

the name of it is vsftpd

once done

go and edit vsftpd.conf as you need

the following would be important if you would like local users to access the computer via ftp

local_enable=YES (but for me in CentOS 4.0 , it is so by default)

so all you need to do is

/etc/init.d/vsftpd start
chkconfig vsftpd on

adduser testftp
passwd testftp

and then from windows, or other linux comp ftp in , type username testftp
password testftp

aditional configuration might be necesary, but everything is explained in config file, see for yourself (not hard)

also
/etc/vsftpd.ftpusers
/etc/vsftpd.user_list

might be important, since with these two files you allow or disable users from logging in.

NEVER EVER ALLOW ROOT TO LOGIN VIA FTP amen

Sincerely
Robert B


--------------------
Robert Becskei
robert83@linuxhelp.net
--------------------
May the source be with us!
--------------------
AMD X2-3800 @ 2400Mhz
2048MB DDR 400Mhz
DFI Lanparty UT4 NF4 ULTRA-D
GeForce 7800GT
250GB+250GB
Pioneer DVD-RW
17inch Samsung Syncmaster 757NF
WinXP Pro (SP2)/ CentOS 4.3
--------------------
Go to the top of the page
 
+Quote Post
CanMike
post Apr 28 2005, 08:43 AM
Post #3


Whats this Lie-nix Thing?
*

Group: Members
Posts: 16
Joined: 31-March 05
Member No.: 4,810



Thank-you for your help. But..

I own RedHat Enterprise Linux WS version 4. Note the 'WS' which stands for 'Work Station'. According to Red Hat vsftpd is not part of the O/S, nor is it supported if you download a version from the internet.

I called them and there is a work around though, start the openssh-server application on my linux box and download and install WinSCP on my Window box.

For all 3 of you out there using RH Enterprise WS v4, here's how to set it up:

On Linux: Logon as 'root'

Check to see if open-server is installed:

# rpm -q openssh-server
on my O/S it returned:
openssh-server-3.9pl-8.RHEL4.1 Yippee!!!

Next start the damn thing. ( I apologise if anyone is offended, but I've been dealing with this problem for a few days and I'm slightly upset with Red Hat right now)

service sshd start ---> note the 'd' at the end

on my O/S it returns:
Starting sshd: ( OK )


Done

On my Window XP Pro, I downloaded freeware WinSCP, installed and away I went.

Again, thanks for your help and maybe I'll download vsftpd one day install it just to wage my nose at Red Hat. This is working well and I can send my SQL's from one machine to the next.
Go to the top of the page
 
+Quote Post
DS2K3
post Apr 28 2005, 09:33 AM
Post #4


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,284
Joined: 14-November 04
From: Southampton, Hampshire
Member No.: 4,165



There is a diffrence between "not supported" and "wont work". They just mean that they wont help you fix it if it goes wrong. Downloading an RPM should suffice, and failing that you could compile it yourself.

D


--------------------
Fixed your problem? Let us know!
richard@linuxhelp.net

www.Gathr.co.uk Online Event Management
Go to the top of the page
 
+Quote Post
CanMike
post Apr 28 2005, 01:05 PM
Post #5


Whats this Lie-nix Thing?
*

Group: Members
Posts: 16
Joined: 31-March 05
Member No.: 4,810



I agree. It will probably work fine, but I've got work to do and sshd allows me to transfer files.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 15th December 2017 - 03:30 AM