in reply to need help downloading a file
Please don't paste links to offsite code.
Put your code here, in between <code>...</code> tags so that everybody can see it.
What exactly is the problem with your code? Does it download the wrong content? Does it get an unexpected server response?
The idea behind automating HTTP downloads is to ideally send exactly the headers that the working example is sending. See the curl documentation to make Curl output the headers it sends and then LWP::ConsoleLogger to see what LWP sends. Compare the two and adjust your program until they send the same data.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: need help downloading a file
by Todd Chester (Scribe) on Jul 25, 2017 at 05:13 UTC |