LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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-20-2011, 12:21 AM   #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-20-2011, 12:48 AM   #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-20-2011, 12:55 AM   #3
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,254

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


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


All times are GMT -5. The time now is 06:08 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration