Ben powershell için linux benim bash komut dosyası aktarmak ama neden başarısız anlayamıyorum denemek istiyorum kurabiye wget yapabilmeyi.PowerShell
Linux komut:
wget -q -x --user-agent="blablabla" --keep-session-cookies --load-cookies cook.txt http://site.com/qqq
Powershell kodu:
$source = "http://site.com/qqq"
$destination = "d:\site\qqq"
$wc = New-Object System.Net.WebClient
$wc.DownloadFile($source, $destination)
ama bu kod yalnızca çerezler olmadan indirme sayfasına. Ve PHPSESSID'i siteye nasıl gönderebileceğimi bulamıyorum.
bunu nasıl bana açıklayınız. Tamam
Pencereler için bir seçenek var mı? http://superuser.com/questions/25538/what-is-the-windows-equivalent-of-wget – PeskyGnat