Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Open file on FTP server on a link click ?

 
K West
Ranch Hand
Posts: 58
Eclipse IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Ranchers,

I have a link on my page that points to a file on ftp server.
From what I got from google is to link it his way



but it redirects me to "Internet Explorer cannot display the webpage".

What can I do in this case is there something I am missing.

I am able to access the same ftp from windows explorer though, so connection is surely not the issue.

Thanks in advance.
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I know that IE8 will not open up an FTP in a normal instance of IE.

Eric
 
K West
Ranch Hand
Posts: 58
Eclipse IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for your reply Eric,

It worked in Mozilla.

But I have seen file downloads been pointed to FTP server on many sites and which work in IE.

What can I do for it?

Is pointing to files on FTP any diffrent from pointing to files on Web server?

Do I have to write a jsp or something to handle the download?

Thanks.
 
Austin Tashis
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
K West wrote:Is pointing to files on FTP any diffrent from pointing to files on Web server?


Yes. FTP is a different protocol, and different browsers and operating systems use different "helper" apps for different protocols. Usually this is a user-configurable setting, so you really have no way of knowing, let alone controlling, what will happen when a user clicks an ftp link.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic