用asp怎么调用ftp?

liudianhalf 2006-06-12 01:03:38
尽量说的详细一点,如果有源程序更善
...全文
238 8 打赏 收藏 举报
写回复
用AI写文章
8 条回复
切换为时间正序
请发表友善的回复…
发表回复
soft_2008 2006-06-12
  • 打赏
  • 举报
回复
- -
  • 打赏
  • 举报
回复
http://blog.csdn.net/liuxiaoyi666/archive/2005/01/26/269661.aspx
net205 2006-06-12
  • 打赏
  • 举报
回复
要写com组件了,

如果只实现文件目录管理可以用fso来操作...
wanghui0380 2006-06-12
  • 打赏
  • 举报
回复
有一个叫aspftp的控件,自己找找看把
xieqi 2006-06-12
  • 打赏
  • 举报
回复
楼上的是重定向啊。

楼住怎么各调用ftp发啊?
dsmy 2006-06-12
  • 打赏
  • 举报
回复
<%
if request("action") <> "" then
dim server,username,password,url
server=request("ip")
username=request("username")
password=request("password")
url="ftp://"+username+":"+password+"@"+server

response.write url
response.redirect url
end if
%>
<style type="text/css">
<!--
.style2 {font-size: 10pt}
-->
</style>

<title>ftp</title><table width="700" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#CCCCCC">
<tr>
<td width="989" height="130"><form name="form1" method="post" action="zlg.asp?action=login">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="49"><div align="center"><span class="style2">FTP地址:</span>
<input name="ip" type="text" id="ip" size="25">
</div></td>
</tr>
<tr>
<td height="33"><div align="center"><span class="style2">用户名:</span> 
<input name="username" type="text" id="username" size="25">
</div></td>
</tr>
<tr>
<td height="51"><div align="center"><span class="style2">密 码:  </span>
<input name="password" type="password" id="password" size="25">
</div></td>
</tr>
<tr>
<td><div align="center">
<input type="submit" name="Submit" value="提 交">
   
<input type="reset" name="Submit2" value="重 置">
</div></td>
</tr>
</table>
</form></td>
</tr>
</table>


你试一下了,两年前搞的,应该可以的。
coder1 2006-06-12
  • 打赏
  • 举报
回复
帮顶
friendlyFour 2006-06-12
  • 打赏
  • 举报
回复
这个恐怕要些一个com了吧,怎么写我也不知道。呵呵。
up

28,402

社区成员

发帖
与我相关
我的任务
社区描述
ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
社区管理员
  • ASP
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧