I need to quickly download an ISO image to my new VMware ESX 4 box and discovered that the cURL utility is now included — pretty handy.
If you have not used cURL, it is similar to wget. However, with no parameters cURL will spew the download to standard out — definitely not what you want in the case of an ISO image. Therefore, the -O option — capital O — can be used to save the downloaded file, preserving the filename. If you happen to be behind a proxy server, don’t forget to set the http_proxy environment variable — standard Linux procedure.

The full man page is also present — if you need to know more, just type “man curl”.
Related posts:
-
Check out http://www.veeam.com/vmware-esxi-fastscp.html
It is free and about 10 times faster (looking at your numbers) -
Eric, sorry – I’ve totally missed the fact that you are uploading ISO to ESX storage directly from internet… for some reason I though you are doing upload from some local share.
No, fastscp cannot get data from the internet, nor can it make internetz 10 times faster
-
Hi Eric,
I’ve been using lwp-download to do the same thing for some time…
$ lwp-download
Usage: lwp-download [-a] []What do you see as the main differences?
I b e n
http://search.cpan.org/~gaas/libwww-perl-5.826/bin/lwp-download

RSS Feed
Follow

5 comments
Comments feed for this article
Trackback link: http://www.vcritical.com/2009/05/vmware-esx-4-use-curl-to-grab-files/trackback/