VMware

Four ways to upload files to VMware vSphere datastore

There are a number of ways to manage datastore files in vSphere. In this post we take a look at Four ways to upload files to VMware vSphere datastore

Uploading files whether it be ISO’s, VMX config files, or VMDKs is a necessary task for most VMware administrators in various situations. When looking to upload files to your VMware vSphere environment, there are multiple ways to skin a cat as they say. However, let’s take a look at Four ways to upload files to VMware vSphere datastore.

Four Ways to upload files to VMware vSphere datastore

There are a variety of ways to upload files. ย In this quick post we will take a look at uploading via ESXi host, vCenter Server web client, WinSCP connected to the host, and lastly vSphere Windows client connected directly to the ESXi host.

ESXi host

The first way we want to look at is by connecting to the web interface of the ESXi host itself. ย Below, I have connected to an ESXi 6.5a host by simply navigating to https://<esxi host IP>/

After logging into your ESXi host, you can click onย Storage and then over in the right hand pane, you will seeย Datastore browser. ย Click theย Datastore browser button.

vmupload01

This will open a new window for the Datastore browser. ย Notice theย Upload button. ย Click the Upload button to browse to the file you want to upload. ย Note, whatever folder context you are in is where the file will be uploaded.

vmupload02

vCenter Server

Uploading files to your VMware vSphere datastore via vCenter Server is very straightforward and similar to the ESXi host connection. ย You can click on your datastores tab, then right click the datastore you want to upload to. ย Notice you have the context menu pop up where you can selectย Browse Files.

vmupload03

When you click theย Browse Files option, you will see your datastore and a button on the upper right hand side that is fairly intuitive (datastore symbol with a green arrow pointing up). ย Click this button and you will be able to select the file you want to upload. ย Again, the folder context you are currently in determines where the file will be uploaded.

vmupload04

WinSCP

For this option, you can use any SSH client of your choosing. ย Here, I am using WinSCP. ย Also, important to note with this method, you need to have enabled SSH on the ESXi host you want to connect to. ย After doing that, simply choose SCP, enter the IP or hostname of your host, port 22, and your user name and password which by default would be root.

vmupload05

Once you have connected, simply navigate toย /vmfs/volumes and you will see a symlink to your datastore. ย Simply drill into the datastore folder. After you have done that, you can drag and drop files to your datastore or sub folder.

vmupload06

vSphere Windows Client

Even though the Windows Client is no longer supported with vSphere 6.5, you CAN still connect to an ESXi 6.5 host, just not vCenter Server. ย I wanted to show this asย it is still a viable option for uploading files to a VMware vSphere datastore.

Click your host, then underย Storage, righ click your datastore and chooseย Browse Datastore.

vmupload07

This will take you to aย Datastore Browser window where you have the option to upload files, etc.

vmupload08

Thoughts

In this postย Four ways to upload files to VMware vSphere datastore we took a look at four ways to upload files. ย This doesn’t encapsulate all the methods as there are numerous ways even via the commandline. ย However, I think the four mentioned above are most likely the methods that most will use in uploading and managing files in their datastores.

Subscribe to VirtualizationHowto via Email ๐Ÿ””

Enter your email address to subscribe to this blog and receive notifications of new posts by email.



Brandon Lee

Brandon Lee is the Senior Writer, Engineer and owner at Virtualizationhowto.com, and a 7-time VMware vExpert, with over two decades of experience in Information Technology. Having worked for numerous Fortune 500 companies as well as in various industries, He has extensive experience in various IT segments and is a strong advocate for open source technologies. Brandon holds many industry certifications, loves the outdoors and spending time with family. Also, he goes through the effort of testing and troubleshooting issues, so you don't have to.

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.