thewebgeek
Technical User
When logging into an ftp site, one usually puts their ID and password in the following format )minus the "/s" around the @ symbol):
ftp://userIDassword/@/myftpsite.com
The way things are now, one has to go through a rather cumbersome login process in both Netscape and IE5. Users do not normally know the login process for these browsers, so I want to create a form on an html page that provides a nice interface for logging in.
Here is the code I have so far:
<script language-"javascript">
<!--
function enter()
{
user = document.frm.user.value;
pass = document.frm.pwd.value;
window.location = "ftp://"+user+":"+pass+"@phoenixsoftware.com/pub/";
}
//-->
</script>
Now I'm getting errors in both netscape and IE5.
ftp://userIDassword/@/myftpsite.com
The way things are now, one has to go through a rather cumbersome login process in both Netscape and IE5. Users do not normally know the login process for these browsers, so I want to create a form on an html page that provides a nice interface for logging in.
Here is the code I have so far:
<script language-"javascript">
<!--
function enter()
{
user = document.frm.user.value;
pass = document.frm.pwd.value;
window.location = "ftp://"+user+":"+pass+"@phoenixsoftware.com/pub/";
}
//-->
</script>
Now I'm getting errors in both netscape and IE5.