Shared folders options for vmware in ESXi server

snvngrc picture snvngrc · Jul 1, 2013 · Viewed 11.7k times · Source

I am using ESXi server and run VMs using vSphere client. I was using shared folders options in VMware but I cannot find this option in these VMs now. How can I create a shared folder or how can I transfer files between VMware virtual machines easily? Thanks.

Answer

dnet picture dnet · Jul 1, 2013

If you only need to transfer files from the host to the guest, the simplest solution is to create an ISO image and attach it to the virtual CD/DVD drive. For example, on Linux, the following command creates an ISO image foo.iso from the bar directory, preserving long file names (-J).

genisoimage -o foo.iso -J bar

If you need something more complex than that, ESXi has no such built-in method, it's best to set up a VM for such things with an (S)FTP, SMB or NFS service.