LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-01-2005, 03:06 AM   #1
daihard
Member
 
Registered: Jul 2003
Location: Seattle, WA
Distribution: Kubuntu 14.04 LTS
Posts: 915

Rep: Reputation: 34
Question Trouble w/ FTP via Web Browser


Hi.

I'm having trouble accessing my own FTP server through Web browsers. Hope someone can help me out.

I have set up an FTP server on my Fedora Core 3 machine at home using vsFTPd. With the proper port forwarding (i.e. port 21), I can access the server and obtain the files on it from the outside world as long as I use a regular FTP application such as Winsock FTP (Windows) and gFTP (Linux).

However, I can't do the same using Web browsers such as Firefox and (ugh!) IE. I type in the following as the URL:

ftp://daihard@daihard.myunix.com

where daihard is the user name and daihard.myunix.com is the hostname I registered with DynDNS.org. It does ask for the password for daihard, but once I type it in, the browser will try to "contact" the site for a while and eventually come back with an error.

I have the firewall enabled, but I checked both HTTP and FTP as trusted services.

Any help/suggestions would be appreciated.

TIA,
Dai
 
Old 09-01-2005, 07:53 PM   #2
tonyfreeman
Member
 
Registered: Sep 2003
Location: Fort worth, TX
Distribution: Debian testing 64bit at home, EL5 32/64bit at work.
Posts: 196

Rep: Reputation: 30
I *believe* you should have both port 20 and 21 open for any sort of ftp to work properly. I'm surprised that you have successfully used it with only port 21 open.

Also ... had the same sort of trouble a few years ago. It turned out that IE had to have a checkmark placed beside the 'passive' or 'non-passive' ftp options. Just open IE --> tools --> internet options --> ??? passive ftp ???

Good luck!

-- Tony

Last edited by tonyfreeman; 09-01-2005 at 07:59 PM.
 
Old 09-02-2005, 03:35 AM   #3
daihard
Member
 
Registered: Jul 2003
Location: Seattle, WA
Distribution: Kubuntu 14.04 LTS
Posts: 915

Original Poster
Rep: Reputation: 34
Quote:
Originally posted by tonyfreeman
I *believe* you should have both port 20 and 21 open for any sort of ftp to work properly. I'm surprised that you have successfully used it with only port 21 open.

Also ... had the same sort of trouble a few years ago. It turned out that IE had to have a checkmark placed beside the 'passive' or 'non-passive' ftp options. Just open IE --> tools --> internet options --> ??? passive ftp ???
Thanks for the reply!

I'm not all that familiar with how those two ports work with FTP. I wonder if configuring my OS firewall to allow FTP means both ports 20 and 21 are open?

I also have the following entries in my /etc/vsftpd/vsftpd.conf, if it matters:

pasv_promiscuous=YES
port_promiscuous=YES

I will play with the IE settings tomorrow. Thanks again for your help.

Dai
 
Old 05-18-2006, 09:41 PM   #4
markw8500
Member
 
Registered: Jul 2005
Posts: 104

Rep: Reputation: 15
did you ever work out all of your bugs?
I had the same problem, and it ended up being that i forgot to open the ports in my iptables...
 
  


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(through web site access to ftp server) kelper Linux - Software 4 07-03-2015 05:14 PM
what is different with Ftp From browser and Ftp from command line zahra79 Linux - Networking 2 06-22-2005 03:26 AM
browser plugin for Konqueror web browser (linspire) Tracianddwayne Linux - Newbie 1 01-01-2005 02:15 PM
public web browser aka web kiosk xmnemonic Linux - Software 6 06-14-2004 03:20 PM
Can't get out on Web browser, but can ftp d3funct Linux - Networking 1 11-08-2001 02:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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