Assuming that the Guest and Host are on a same virtual network, you can set up any file sharing using any kind of ordinary networking method, which might include CIFS shares (ie Windows/Samba file sharing), NFS, iscsi, etc.
Also for now(there are efforts to deprecate) typically most virtualization technolgoies support a special way of sharing part of a a Host file system (ie a Folder) using the Plan9 protocol.
You didn’t describe what virtualization technology your’e using…
If you’re running VBox or VMware, this generally means installing the proprietary Guest extensions (VMware or VBox).
If you’re running KVM, I wrote an article how to configure this in vm manager https://en.opensuse.org/User:Tsu2/virtfs#Overview
If you can’t figure out what your options are, you’ll have to specify the virtualization technology you’re using.
Like tsu2 wrote, it depends on the virtualization technology you are using. Most virtualization solutions have a feature known as shared folders, which enables you share files among virtual machines and between virtual machines and the host system. If you are using VMware Player, check here (VMware Tools must be installed). For VirtualBox, check here.
On 2015-03-18 00:56, robertsmits wrote:
>
> I have a desktop Virtual Machine Host running OpenSuse 13.1.
>
> I have a Windows 7 guest running on the same machine.
>
> How do I transfer files from the host to the guest?
>
> I do already run nfs on the Linux box, but don’t think Windows can use
> that.
>
> All I want to do is upload some files
I use WinSCP, in Windows. It is opensource, but I don’t have a download
link available right now. It can transfer files over ssh to/from Linux.
No setup required.
Be familiar with a few different methods.
Sometimes networking is not available (ie. different configured networking, no networking) for a network transfer, and then you’ll need a method not dependent on network sockets.
You may also want to have a persistent, automatically mounted method to save time instead of a command which must be executed accurately.