LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 01-19-2011, 11:21 PM   #1
Voyager7
LQ Newbie
 
Registered: Jan 2011
Posts: 12

Rep: Reputation: 0
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
 
Old 01-19-2011, 11:48 PM   #2
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
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.
 
Old 01-19-2011, 11:55 PM   #3
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
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
 
  


Reply



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

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

All times are GMT -5. The time now is 05:34 PM.

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
Open Source Consulting | Domain Registration