[SOLVED] Connection refused error with uploading using ftp
Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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...
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?
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.
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...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.