Reputation: 851
As per my understanding there is an option called Shared Folder. But I am not referring to that. Here my Guest OS is Linux and my Host OS is windows. I am using virtualbox to run the Guest OS. I need to run a simple application(C/C++) in the Linux which is running in the virtualbox.
The function syntax can be something like below
fun_copy(file_from_host_os,dest_path_guest_os)
{
//Implementation
}
Here:
file_from_host_os
: The file (eg: foo.txt) present inside the windows directory.
dest_path_guest_os
- Location of the destination path(eg: /home/) inside the linux (running in the virtualbox)
I am a newbie into this forum. Correct me if something is wrong from side. Thanks in advance.
PS: I added the same question in Unix stack exchange also
Edit: I don't know the feasibility of this requirement. That's why I came here. I think u folks can help me to sort out this problem. Thanks in advance
Upvotes: 1
Views: 546
Reputation: 371
Did you consider using the network interface?
There are plenty of tools for copying files through a network interface e.g. ftp, tftp, ssh... Linux hosts usually include some of these tools in a standard installation.
Upvotes: 1