1
我试图使用powershell从指定的URL中获取图像并将其重新发送到ftp。 但它不以这种方式工作:/将Powershell URL图像传输到FTP
$url = "http://somesite.com/image.jpg"
$ftp = "ftp://username:[email protected]/folder/image.jpg"
$webclient = New-Object System.Net.WebClient
$uri = New-Object System.Uri($ftp)
$webclient.UploadFile($uri, $url)
任何提示吗? Thanx!
Splendid!非常感谢! :) – 45RPM 2012-08-19 22:26:02