Solved

html / php button to open FTP site in windows explorer

Posted on 2007-04-01
6
1,832 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
  • 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
Save on storage to protect fatherhood memories

You're the dad who has everything. This Father's Day, make sure your family memories are protected. My Passport Ultra has automatic backup and password protection to keep your cherished photos and videos safe. With up to 3TB, you have plenty of room to hold the adventures ahead.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
SSL is a very common protocol used these days when browsing the web.  The purpose is to provide security to communication, but how does it do it?  There are several pieces at work that have to be setup before SSL will even work and it requires both …
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

863 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

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now