I have a direct link to a 4GB file.

How can I download it to a DataStore at vSphere 4? (without downloading it to my computer)

Thanks in advance

link|improve this question
feedback

1 Answer

up vote 2 down vote accepted

You need SSH access to the ESX console as ESX/ESXi comes with BusyBox and BusyBox has a slim wget. You can enable SSH access from the vSphere Client, in Configuration > Security > SSH Server.

First, SSH to the ESX host (use PuTTY if you're on Windows)

$ ssh root@12.34.56.78

Change directory to the datastore you want to put the file in

~ # cd /vmfs/volumes/datastore1

Then ,simply wget the file

~ # wget http://example.com/file.iso

Now mount/use the file from the vSphere client.

link|improve this answer
+1 Thanks it seems to work good - the problem is, the 'wget' don't support SSL – yytg Dec 7 '11 at 16:59
Ah I see, I'm currently not at my desk, so I can't check if ESXi has cURL or not, or if that's the old ESX. Either way, you can always try it by doing ~ # curl http://example.com/file.iso -o file.iso – cvaldemar Dec 7 '11 at 18:15
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.