download files from web

P

Peter Meier

Hi,

I already knew that you can use the following code to download a file.

http=Net::HTTP.start(servername)
resp = http.get(fileName)

But if the files is large this will take some time.
Is there another package with a progress indication?

Thanks
Peter
 
H

hemant

Hi,

I already knew that you can use the following code to download a file.

http=Net::HTTP.start(servername)
resp = http.get(fileName)

But if the files is large this will take some time.
Is there another package with a progress indication?

Thanks
Peter
you should consider using wget. Open a pipe and pass the location and
you should be ready to go.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,776
Messages
2,569,603
Members
45,197
Latest member
Sean29G025

Latest Threads

Top