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