Share your knowledge at the LQ Wiki.
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 08-11-2011, 04:22 PM   #1
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, 04:41 PM   #2
LQ Guru
Registered: Apr 2005
Posts: 5,817

Rep: Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002

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?



Last edited by corp769; 08-11-2011 at 04:44 PM.
Old 08-11-2011, 04:42 PM   #3
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!
Old 08-11-2011, 04:50 PM   #4
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, 05:05 PM   #5
LQ 5k Club
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,087

Rep: Reputation: 407Reputation: 407Reputation: 407Reputation: 407Reputation: 407
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.


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

All times are GMT -5. The time now is 07:50 AM.

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