<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><DIV>For remotely executing a command, you can use the vbox guestproperty API. Inside the vm, check out "VBoxControl guestproperty" command.</DIV>
<DIV> </DIV>
<DIV>Basically, the vm waiting for a property that contains a path for execution, and your host set this property. The guest vm launches the program when the guest property arrives. </DIV>
<DIV> </DIV>
<DIV>For file copy/paste, u can try to use a temp folder that's mapped to vm using shared folders. then operate the file.</DIV>
<DIV> </DIV>
<DIV>We have implemented both of these functions internally, feel free if u need more info.</DIV>
<DIV><BR><BR>--- On <B>Mon, 8/10/09, Lucian Adrian Grijincu <I><lucian.grijincu@rosedu.org></I></B> wrote:<BR></DIV>
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(16,16,255) 2px solid"><BR>From: Lucian Adrian Grijincu <lucian.grijincu@rosedu.org><BR>Subject: [vbox-dev] sending a file / executing a command on a vbox virtual machine<BR>To: vbox-dev@virtualbox.org<BR>Date: Monday, August 10, 2009, 7:19 AM<BR><BR>
<DIV class=plainMail>Hi,<BR><BR>I'd like to know whether there is support in VBoxXPCOMC or in other libs for:<BR>* sending/receiving a file to/from a vm with vm additions installed,<BR>* executing a command/running a program on a vm with vm additions installed.<BR><BR>I'm working on an open-source application that tests homework<BR>submitted by students at my faculty. The current setup uses vmware<BR>(the VIX API support the kind of operations I enumerated above) and<BR>we're looking into switching to virtualbox.<BR><BR><BR>-- <BR>.<BR>..: Lucian<BR><BR>_______________________________________________<BR>vbox-dev mailing list<BR><A href="http://us.mc343.mail.yahoo.com/mc/compose?to=vbox-dev@virtualbox.org" ymailto="mailto:vbox-dev@virtualbox.org">vbox-dev@virtualbox.org</A><BR><A href="http://vbox.innotek.de/mailman/listinfo/vbox-dev" target=_blank>http://vbox.innotek.de/mailman/listinfo/vbox-dev</A><BR></DIV></BLOCKQUOTE></td></tr></table>