My guess is it is the submit button that passes the variables. Here is the code that calls the function named enter.
<input type="button" onclick="enter()"value="submit" name="Button">
well, window.location.href worked in IE5, but not in Netscape. In Netscape 4.7, I am passed through to the ftp site, but not given the permissions needed to view certain files. IN Netscape 6, I just get an error that says:
Error: enter is not defined.
Funny, I looked at the code on my original HTML page and the semicolon is not there. It , along with other stuff, was inserted into my message when I posted. Perhaps just giving the URL to the login page would be best.
http://www.phoenixsoftware.com/signin.htm
When logging into an ftp site, one usually puts their ID and password in the following format )minus the "/s" around the @ symbol):
ftp://userID:password/@/myftpsite.com
The way things are now, one has to go through a rather cumbersome login process in both Netscape and IE5. Users do...
here is my code again. enter() is defined as a function
<script language-"javascript">
<!--
function enter()
{
user = document.frm.user.value;
pass = document.frm.pwd.value;
window.location = "ftp://"+user+":"+pass+"@phoenixsoftware.com/pub/";
}...
you click on "Submit" and it doesn't do anything.
<script language-javascript> <!--
function enter()
{
user = document.frm.user.value;
pass = document.frm.pwd.value;
window.location
=...
okay here is where I'm at presently.
When a user logs in as anonymous, they are to enter "anonymous" in the user ID field, and their email address in the password field. However the "@" symbol in the email address seems to confuse IE, so I get an error message page.
So then...
my company wants a login page for our ftp site. Some people will login as anonymous and use their email address as the password, and others will have an actual password that enables them to have more access than anonymous users.
I have tried a login page that asks for the user ID and password...
my company wants a login page for our ftp site. Some people will login as anonymous and use their email address as the password, and others will have an actual password that enables them to have more access than anonymous users.
I have tried a login page that asks for the user ID and password...
Well, I have a new twist. I want to process anonymous logins as well as non-anonymous. The policy is for anonymous logins to use their email addresses as the password. This works fine in Netscape, But in IE, it appears the extra "@" symbol gives it a hissy fit. Any ideas?
Thanks! Let me know if/when you address the password hiding issue.
Also, the submit button is a little "sticky". Meaning it appears as if the browser has frozen when it hasn't. For now I will just leave a message on the html page stating this. If you can resolve that, it would be...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.