质量员的安全生产职责:求 能用IE直接管理FTP空间的源码或

来源:百度文库 编辑:神马品牌网 时间:2024/05/07 20:58:38
求 能用IE直接管理FTP空间的源码或..
或无需要软件支持的FTP
象管理网络硬盘那样的管理方式(既:直接在IE中完成)

用IE登陆FTP服务器

<script janguage="javascript">
<!--
function goFtpSite() {
document.location.href = "ftp://" + document.ftp.login.value + ":" + document.ftp.password.value + "@" + document.ftp.url.value;
}

//-->
</script>
<form name="ftp">
<table border="0" cellpadding="1" cellspacing="1" align="center" width="304">
<tr>
<td width="296">
<table border="0" cellspacing=0 cellpadding=5 align="center" width="292">
<tr bgcolor="#b5e1ff">
<td width="75" align="right"> <font face="arial,helvetica" size="-1" color="#008080">
Ftp:// </font> </td>
<td width="193"> <font face="arial,helvetica" size="-1">
<input type="text" size=30 name="url" style="border: 1 solid #0099FF">
</font> </td>
</tr>
<tr bgcolor="#ddf1ff">
<td align="right" width="75"> <font face="arial,helvetica" size="-1" color="#008080">UserName:
</font> </td>
<td width="193"> <font face="arial,helvetica" size="-1">
<input type="text" size="15" name="login" maxlength="20" style="border: 1 solid #0099FF">
</font> </td>
</tr>
<tr bgcolor="#b5e1ff">
<td align="right" width="75"> <font face="arial,helvetica" size="-1" color="#008080">
Password: </font> </td>
<td width="193"> <font face="arial,helvetica" size="-1">
<input type="password" size="15" name="password" maxlength="20" style="border: 1 solid #0099FF">
</font></td>
</tr>
<tr bgcolor="#ddf1ff">
<td colspan="2" align="center" width="280"> <font face="arial,helvetica" size="-2">
<input type=button onclick="goFtpSite();" value="登录" style="background-color: #0099FF; color: #FFFFFF; border: 1 solid #0099FF">

<input type=reset value="重写" style="color: #FFFFFF; background-color: #0099FF; border: 1 solid #0099FF">
</font> </td>
</tr>
</table>
</td>
</tr>
</table>
</form>

我正在写~!

能自助申请IIS虚拟主机~!
自行管理FTP开关~!
并自动复制,我自己编写的智能建站程序到客户文件夹中~!

需要的话: QQ 23891

以上回答都太过复杂了!
打开IE,在地址栏中输入FTP地址,如ftp://ftp.abc.com/回车,如果FTP空间允许匿名访问,这时就可以看到了,如果不允许,这时会弹出对话框要求你输入FTP用户名和密码。成功后,IE就会和资源管理器访问本地文件夹一样操作了!十分方便!另外,你可以使用IE菜单中的“文件-登录”更换用户并保存用户名和密码。以后在网上邻居中,也会把这个FTP站点保存。