perl CGI (65)
Visual Basic (3539)
New related comments
Number of comments in the last 48 hours
How do I get a file's date / timestamp in perl?
How can I download a file via http?
5 comments. Current rating: (1 votes). Leave comments and/ or rate it.
Question:How can I download a file via http?
Answer:You could make a system call to lynx and read the input. This puts a bit more load on your computer and should not be used if you are going to retrieve many documents.
You have more control and a more efficient solution using the LWP package (second part in the code below).