Solved

html / php button to open FTP site in windows explorer

Posted on 2007-04-01
6
1,868 Views
Last Modified: 2013-12-13
Hi

I am trying to open an ftp site from a button on an Intranet.  All machines are using IE7 so I need the button to open windows explorer with the address ftp://192.168.16.1  and then ask for the login details.

I would have thought that something like

“%windir%\explorer.exe ftp://192.168.16.1”

Would work, but no luck.  The site is written in php / html

Can any one help??

Cheers

Si
0
Comment
Question by:brasso_42
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 20

Expert Comment

by:steelseth12
ID: 18831626
<input type="button" onclick="window.open('ftp://192.168.16.1','_blank') name='button'>
0
 
LVL 20

Expert Comment

by:steelseth12
ID: 18831627
<input type="button" onclick="window.open('ftp://192.168.16.1','_blank')" name='button'> forgot a "
0
 
LVL 1

Author Comment

by:brasso_42
ID: 18831640
Hummm didnt seem to work.  Heres what I'm doing

 <td><a href = "window.open('ftp://192.168.16.1','_blank')"   onMouseOver="document.Keyboard.src='buttons/ftp.gif';" onMouseOut="document.Keyboard.src='buttons/ftp1.gif';"><img src="buttons/ftp2.gif" name="Keyboard" width="252" height="42" border="0"></a></td>

Any idea where I'm going wrong
0
 Watch the Recording: Learning MySQL 5.7

MySQL 5.7 has a lot of new features. If you've dabbled with an older version of MySQL, it is definitely worth learning.

 
LVL 20

Expert Comment

by:steelseth12
ID: 18831659
since your not using an input button just janfle it like a normal link .... i.e

<a href = "ftp://192.168.16.1" target="_blank"
0
 
LVL 1

Author Comment

by:brasso_42
ID: 18831682
Hi

This is ok, but it does not open in explorer ... it opens a new IE page.  The problem with this is IE7 does not support FTP  you have to click page, open FTP site in windows explorer.  Although this is easy enough to do my beloved users will get confused, bless them.

Any ideas
Cheers

Si
0
 
LVL 15

Accepted Solution

by:
JakobA earned 500 total points
ID: 18832297
http://enhanceie.com/useragent.aspx

But I guess that is a bit too late for you :-(
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses four methods for overlaying images in a container on a web page
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

626 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question