<HTML> <Head> <title>Automatic generation of FTP page login address js effect 丨 Shijiazhuang Glass partition | Shijiazhuang Cable Accessories</title> <ScriptJanguage= "JavaScript"> <!-- //This simple script generates a URL string for login ftp functionGoftpsite () {document.location.href= "ftp://" +Document.ftp.login.value+ ":" +Document.ftp.password.value+ "@" +Document.ftp.url.value; } //format: ftp://user name: password @ Site address // - </Script> </Head> <Body> <formname= "FTP"> <DivAlign= "Left"> <TableBorder= "0"cellpadding= "1"cellspacing= "1"bgcolor= "#000000"> <TR> <TD> <TableBorder= "0"cellspacing=0cellpadding=5Align= "Center"> <TRbgcolor= "#bbbbbb"> <TDwidth= " the"Align= "Right"> <Font Face= "Arial,helvetica"size= "-1">ftp://</Font> </TD> <TD> <Font Face= "Arial,helvetica"size= "-1"> <inputtype= "text"size=15name= "url"style= "Border:1 solid #000000"> </Font> </TD> </TR> <TRbgcolor= "#dddddd"> <TDAlign= "Right"> <Font Face= "Song Body"size= "-1">User name:</Font> </TD> <TD> <Font Face= "Arial,helvetica"size= "-1"> <inputtype= "text"size= " the"name= "Login"maxlength= " the"style= "Border:1 solid #000000"> </Font> </TD> </TR> <TRbgcolor= "#bbbbbb"> <TDAlign= "Right"> <Font Face= "Song Body"size= "-1">Password:</Font> </TD> <TD> <Font Face= "Arial,helvetica"size= "-1"> <inputtype= "Password"size= " the"name= "Password"maxlength= " the"style= "Border:1 solid #000000"> </Font></TD> </TR> <TRbgcolor= "#ffffff"> <TDcolspan= "2"Align= "Center"> <Font Face= "Arial,helvetica"size= "-2"> <inputtype=buttononclick= "Goftpsite ();"value= "Login"style= "Background-color: #DDDDDD; border:1 solid #000000"></Font><Fontsize= "-2"> </Font><Font Face= "Arial,helvetica"size= "-2"><inputtype=resetvalue= "Cancel"style= "Background-color: #DDDDDD; border:1 solid #000000"> </Font> </TD> </TR> </Table> </TD> </TR> </Table> </Div> </form> </Body> </HTML> <BR>This page special effect automatically generated the FTP page login into the address information,<BR>That is, the URL string that generated the login FTP, including the FTP user name and password,<BR>Format: ftp://user name: password @ Site address,<BR>Of course, if you do not use this code, as long as you know the FTP login address of the wording, it is also possible,<BR>This code can help unfamiliar novice automatically generate the FTP login address<BR><HR>
Automatic generation of FTP page login address JS effect