Author |
Topic  |
|
eroemer
Starting Member
16 Posts |
Posted - 18 November 2004 : 15:34:30
|
I am trying to place a link to an ftp site in my inc_header.asp file so that is shows up as a link on all forum pages.
I added the following line:
Response.Write " |" & vbNewline & _ " <a href=""ftp://site.name.org/""" & dWStatus("Goto FTP Login...") & " tabindex=""-1""><acronym title=""Goto FTP Login..."">FTP Login</acronym></a>" & vbNewline
This "almost" works, but the user must know to press enter after clicking on the link or the link does not work. Is there something I can change so clicking on the link takes the user directly to the ftp login? Without the user having to press enter?
Eric Roemer Arcadia Schools |
|
Da_Stimulator
DEV Team Forum Moderator
    
USA
3373 Posts |
Posted - 18 November 2004 : 15:44:40
|
what do you mean "press enter"? |
-Stim |
 |
|
laser
Advanced Member
    
Australia
3859 Posts |
Posted - 18 November 2004 : 16:27:01
|
Return/Enter - the key on the right side of the keyboard 
I don't know what the problem could be, the link you gave works fine here. |
 |
|
eroemer
Starting Member
16 Posts |
Posted - 18 November 2004 : 17:57:53
|
Using the code I posted above, when a user clicks on the "Goto FTP Login" link the following happens:
Internet Explorer opens a browser page with the correct URL listed in the address bar. However, the page remains blank and users are not prompted to logon unless they click at the end of the URL in the address bar and then press "Enter". I am wondering if there is a way to set it up so that when the user clicks on the "Goto FTP Login" link, IE opens a browser page and automatically prompts the user for their username and password for the FTP site, without the need to press "Enter".
I have tried this using several different machines (IE v5.5 and IE 6, and Win 9x/2000/XP) and all have the same problem. Using Firefox for a browser returns an "Anonymous Login Denied" error.
Eric Roemer Arcadia Schools |
 |
|
Podge
Support Moderator
    
Ireland
3776 Posts |
|
eroemer
Starting Member
16 Posts |
Posted - 19 November 2004 : 07:49:25
|
I do not want anonymous users to access the ftp site. I want the link to take registered users to the ftp login prompt. Failing that, is there a way to pass their username and password in the link? For example, they log on to my forum site, click on the ftp link, and their username is automatically passed to the ftp site?
Thanks, Eric Roemer Arcadia Schools |
 |
|
laser
Advanced Member
    
Australia
3859 Posts |
Posted - 19 November 2004 : 09:28:59
|
For sure, you could build up the link to be :
ftp://anonymous@site.name.org/
but I'd say your existing problem remains - having to press enter again to get the ftp login box to display. |
 |
|
|
Topic  |
|