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

转载于:https://www.cnblogs.com/flysun0311/archive/2012/10/09/2716353.html

猜你喜欢

转载自blog.csdn.net/weixin_34414650/article/details/93444235