Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'd like to download a large OS install ISO directly to my datastore. I used to be able to SSH to the ESXi terminal and use wget to download large files directly to the datastore, but it seems that wget can't handle https links anymore (wget: not an http or ftp url).

I'm wondering how others handle this. I know I can download the file to my laptop and use the datastore browser to upload it, but that's a two-step process (not to mention horribly inefficient when I'm offsite and accessing ESX through a VPN).

Thanks in advance for any suggestions!

share|improve this question
add comment

2 Answers

Hopefully, you have a running guest system on the existing VMware setup... That's one quick option. If linux, you can wget/curl. If Windows, just download as normal.

I typically download .ISO files to the vCenter server and upload to the datastore from there. That's easy since my vCenter is usually a Windows server, so any complex download authentication methods are easy to deal with.

wget does exist in ESXi, so maybe the best option is to get the .ISO file you need to a location that does not require an https download; http or normal ftp.

Also see: cURL on ESXi 5.0?

share|improve this answer
    
Thanks for the answer. I don't have vCenter, so unfortunately that's not an option. Can I access the datastore directly from a guest VM? I need to install VMs from the image I download so it needs to be accessible from ESX. –  ebarrere Jun 3 '13 at 16:50
    
What OS is this? Can you get the .ISO to another location? wget works just fine on http and ftp URLs. –  ewwhite Jun 3 '13 at 16:54
    
you should be able to install the vsphere client within the guest VM I would think. Still your 2 step process but eliminates the offsite/VPN issue. –  TheCleaner Jun 3 '13 at 16:57
    
Assuming the client is Windows. –  ewwhite Jun 3 '13 at 17:00
5  
How often are you moving ISOs? It's a hypervisor, not a file server –  Joel E Salas Jun 3 '13 at 17:07
show 5 more comments

You don't mention the laptop OS. Assuming it is Windows, you can use WinSCP.

Log into your ESXi host, drill into your datastore, and do a filecopy using a Commander style, or optionally a Windows Explorer style interface.

If you are looking for a command line option, you can use Putty Secure Copy client.

I use both - gui for one off file copies, and command line to copy files to several ssh hosts.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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