發現 若 對方的web server 回覆 302 code 的時候.
wget 似乎 抓不到 真正的 資料.
該怎麼做 才能抓到真正的 檔案呢??
謝謝
- 代碼: 選擇全部
--10:30:33-- http://domain.com/index.php
=> `index.php'
Connecting to domain.com:80... connected!
HTTP request sent, awaiting response... 302 Found
Location: http://domain.com/index.php[following]
--10:30:33-- http://domain.com/index.php
=> `index.php'
Connecting to domain.com:80... connected!
HTTP request sent, awaiting response... 302 Found
Location: http://domain.com/index.php [following]
http://domain.com/index.php: Redirection to itself.