Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 01-19-2011, 11:21 PM   #1
LQ Newbie
Registered: Jan 2011
Posts: 12

Rep: Reputation: 0
FTP problem - Solaris to Linux

M facing this issue with trying to ftp from Solaris to a new Linux setup.

I try ftp (manuallu/via script) from Solaris to Linux.
It fails saying 'ftp: connect: Connection refused'

I figured it must have something to do with ftp at Linux end.
Thru the threads here, I checked if the service/process is running on ftp.
There is none.

But if I try ftp from Linux to Solaris- m able to do it (manually/or by script)!!!
I unable to grasp how this can happen when it refuses an ftp connection the otherway round.

Any suggestions plz.

Old 01-19-2011, 11:48 PM   #2
LQ Guru
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Hi -

1. When you type "ftp", you are using an FTP "client".

2. Every platform has an ftp client. Usually many of 'em. Most web browsers are even acceptable ftp clients (at least to download files, if not also uploading).

... however ...

3. When you type "ftp", you are trying to reach an FTP "server".

4. And not every platform has a running FTP server.
In fact, most hosts will NOT have an FTP server by default. You generally have to configure and enable an FTP server.

Which, hopefully, explains why you can probably connect in one direction, but not the other. My guess is that both sides have an FTP client, but only one side (your Solaris server) happens to have an operational FTP server.

If you want to add FTP services to Linux, all you usually have to do is run "sudo apt-get install vsftp", or the equivalent for your distro.
Old 01-19-2011, 11:55 PM   #3
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.10, Centos 7.3
Posts: 17,548

Rep: Reputation: 2423Reputation: 2423Reputation: 2423Reputation: 2423Reputation: 2423Reputation: 2423Reputation: 2423Reputation: 2423Reputation: 2423Reputation: 2423Reputation: 2423
In addition to paulsm4's good advice, you may also have to open the relevant ports on the Linux box.
This is a good explanation:


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 from linux to solaris deepthikv Solaris / OpenSolaris 1 03-24-2006 01:03 AM
Which process has ftp on solaris 10? xpucto Solaris / OpenSolaris 3 03-03-2006 03:56 AM
ftp from LInux to Serv-U ftp server problem csross Linux - General 2 11-07-2005 04:35 PM
FTP on Solaris consty Solaris / OpenSolaris 4 06-10-2005 10:45 AM
Solaris 10 FTP cackley Solaris / OpenSolaris 3 02-08-2005 03:59 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:25 PM.

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