Solved

html / php button to open FTP site in windows explorer

Posted on 2007-04-01
6
1,835 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
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 
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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Developers of all skill levels should learn to use current best practices when developing websites. However many developers, new and old, fall into the trap of using deprecated features because this is what so many tutorials and books tell them to u…
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 …
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…
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.

822 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