How to download files on windows server

Using powershell:

powershell (New-Object Net.WebClient).DownloadFile('http://www.google.com', 'result.txt')

You must use single quotes and not double quotes for this to work

posted @ 2012-10-09 10:56  Alex Tian  阅读(132)  评论(0编辑  收藏  举报