LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   FTP problem - Solaris to Linux (https://www.linuxquestions.org/questions/linux-newbie-8/ftp-problem-solaris-to-linux-857421/)

Voyager7 01-19-2011 11:21 PM

FTP problem - Solaris to Linux
 
Hi,
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.

thanks

paulsm4 01-19-2011 11:48 PM

Hi -

1. When you type "ftp somewhere.com", 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 somewhere.com", 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.

PS:
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.

chrism01 01-19-2011 11:55 PM

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: http://slacksite.com/other/ftp.html


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