Link to home
Start Free TrialLog in
Avatar of brasso_42
brasso_42

asked on

html / php button to open FTP site in windows explorer

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
Avatar of steelseth12
steelseth12
Flag of Cyprus image

<input type="button" onclick="window.open('ftp://192.168.16.1','_blank') name='button'>
<input type="button" onclick="window.open('ftp://192.168.16.1','_blank')" name='button'> forgot a "
Avatar of brasso_42
brasso_42

ASKER

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
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"
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
ASKER CERTIFIED SOLUTION
Avatar of JakobA
JakobA

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial