| View previous topic :: View next topic |
| Author |
Message |
Rhijaen Guest
|
Posted: Sat Feb 02, 2008 7:23 pm Post subject: Both urldownloadtofile and curl don't work! |
|
|
I need to download a file for parsing data, but I can't get the file downloaded in the first place!
The problem I think it's having is that it needs to be authenticated. Entering the url: https://www.the4thcoming.net/players/Index.asp?Function=NameSearch&FindThisName=SlasherX in my browser returns what I need but the same with urldownloadtofile returns errorlevel 1.
I've tried curl but I don't think I'm doing that right either..
| Code: | | urldownloadtofile, https://www.the4thcoming.net/players/Index.asp?Function=NameSearch&FindThisName=SlasherX, Temp.html |
How can I get this to work guys? |
|
| Back to top |
|
 |
skwire
Joined: 18 Jan 2006 Posts: 132 Location: Conway, Arkansas
|
Posted: Sun Feb 03, 2008 3:31 pm Post subject: |
|
|
| You will need to use cURL's POSTing and cookie reading/writing capabilities to get that page. From the URL, I'm guessing it's your stats page or something? |
|
| Back to top |
|
 |
|