|
Re: Download manager - problem solved: msg#00035lang.perl.modules.lwp
Hi, I have found how to insert HTTP headers in the line: $ua->get($url, ":content_file" => $file); ...But I still can't find how to get and send cookies in other way than trying to manually add the headers for Cookies. Thanks. Teddy ----- Original Message ----- From: "Octavian Rasnita" <orasnita@xxxxxx> To: <libwww@xxxxxxxx> Sent: Friday, September 17, 2004 9:06 PM Subject: Download manager Hello, I want to create a module that will have a method that should work like a download manager. It will be able to automaticly resume downloads, meaning that if a local file with a given name exists, it will start downloading the remote file skipping the number of bytes that file contains, and adding the rest of the remote file to the local one. I have seen that the recommended way for saving a file using LWP is to use something like: $ua->get($url, ":content_file" => $file); But I would like to know if there is a more flexible way that allow setting some headers (like the referer, and setting the Range of bytes that will be |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Download manager: 00035, Octavian Rasnita |
|---|---|
| Next by Date: | Re: Download manager - problem solved: 00035, Gisle Aas |
| Previous by Thread: | Download manageri: 00035, Octavian Rasnita |
| Next by Thread: | Re: Download manager - problem solved: 00035, Gisle Aas |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |