perl CGI (65)
Visual Basic (3539)
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).