LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 08-11-2011, 03:22 PM   #1
DuskFall
LQ Newbie
 
Registered: Aug 2011
Posts: 18

Rep: Reputation: Disabled
Connection refused error with uploading using ftp


I now have a .tar.gz that has been created during my script, and finnaly i need to upload it via ftp to my computer, but i am unable to because i keep getting the "Connection refused" error, despite the fact that all the syntax appears to be right. in a bout of frustration, i have deleted the code and now no longer have what i had written.. so could someone please let me know the syntax to upload a file to a server? Thanks in advance.
I am aware that other threads have been started about this issue but I am trying to ftp from an iPhone to a computer...
 
Old 08-11-2011, 03:41 PM   #2
corp769
LQ Guru
 
Registered: Apr 2005
Posts: 5,817

Rep: Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002
Hello,

Normally, an error that says "Connection Refused" means that you can not connect to the service that you are attempting to connect to. What FTP service are you using on your computer? Did you open the correct ports in iptables? Also, could you show us the commands that you are using to send the file over to your computer? Lastly, what distribution are you using?

Cheers,

Josh

Last edited by corp769; 08-11-2011 at 03:44 PM.
 
Old 08-11-2011, 03:42 PM   #3
dafydd2277
Member
 
Registered: Mar 2010
Posts: 58

Rep: Reputation: 5
Hi, DuskFall,

I have two questions for you. The first is the Linux distribution you're using on your ftp server. The second question is the name and version of the ftp server package installed on that server. vsftpd is a popular package, but others exist.

Once we know how our ftp server is set up, we can proceed. But, my first guess is that you can't send because there's nothing on the server ready to receive.

Good Luck!
dafydd
 
Old 08-11-2011, 03:50 PM   #4
DuskFall
LQ Newbie
 
Registered: Aug 2011
Posts: 18

Original Poster
Rep: Reputation: Disabled
Sorry, i'm not using a linux machine... i'm using OSX, because i thought they were very closely structured and they both ran bash, i thought i'd come here for help...
 
Old 08-11-2011, 04:05 PM   #5
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,085

Rep: Reputation: 398Reputation: 398Reputation: 398Reputation: 398
OSX is apple's OS.

It is not open source, as linux is.

Please address your problems to apple.

Sorry I can not help you further.

Best wishes.
 
  


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
[SOLVED] FTP connection refused Perrorist Linux - Server 3 10-13-2009 06:11 PM
FTP connection, uploading and downloading files through Shell between unix and linux alertroshannow Linux - Newbie 2 02-16-2009 01:00 AM
connection refused on FTP jsheffie SUSE / openSUSE 2 07-07-2005 12:35 PM
ftp - connection refused aje Linux - Networking 4 11-06-2004 05:19 AM
ftp connection refused charkym Linux - Networking 2 06-26-2001 03:29 PM


All times are GMT -5. The time now is 07:50 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