This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes Open file on FTP server on a link click ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Open file on FTP server on a link click ?" Watch "Open file on FTP server on a link click ?" New topic
Author

Open file on FTP server on a link click ?

K West
Ranch Hand

Joined: Sep 10, 2008
Posts: 58

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.


Years teach us more than books.
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
I know that IE8 will not open up an FTP in a normal instance of IE.

Eric
K West
Ranch Hand

Joined: Sep 10, 2008
Posts: 58

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

Joined: May 23, 2003
Posts: 19
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Open file on FTP server on a link click ?
 
Similar Threads
downloading all the files in a folder through ftp
File download from Unix server with password
Windows Explorer in WebPage
File download from Unix server with password
Dragging ftp-link to windows explorer - which dataflavor?