Solved

html / php button to open FTP site in windows explorer

Posted on 2007-04-01
6
1,846 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
Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

 
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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Can't find an open element in HTML 5 53
Securing source code... theoretical question 10 48
PHP processing webform 25 45
Select Query Fails in PHP but not in TERMINAL Mysql 9 31
This is the first one of a series of articles I’ll be writing to address technical issues that are always referred to as network problems. The network boundaries have changed, therefore having an understanding of how each piece in the network  puzzl…
Creating an OSPF network that automatically (dynamically) reroutes network traffic over other connections to prevent network downtime.
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 a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

739 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