Hallo René!
Bei mir klapps - onClick - großes C!
<script type="text/javascript">
function link()
{
window.location.href = "ftp://" + document.Formular.Feld1.value + ":" + document.Formular.Feld2.value + "@pelosi.dyndns.org/";
}
</script>
<center>
<form name="Formular" action="">
<input type="text" name="Feld1" size="20">
<input type="text" name="Feld2" size="20">
<br>
<input type="button" Value="Login" onClick="link();">
</form>
</center>
mfg
norbert =:-)