Quantcast
Channel: VMware Communities : Popular Discussions - VIX API
Viewing all articles
Browse latest Browse all 34639

Problem with CopyFileFromHostToGuest VIX 1.2 and Server 2.0

$
0
0

Now that I am able to connect, I got my code mostly back to a working state. The only portion failing now is moving the files between the host and guest. Once I get that solved, it should take care of my problem with copying from the Guest to Host as well.

 

My old code looked like this:

 

 

job = vm.CopyFileFromHostToGuest("c:\userinfo.exe", "c:\userinfo.exe", 0, null, null);

 

 

After the change with the way Server wants to file information, I moved my file and switched it to this:

 

 

job = vm.CopyFileFromHostToGuest("[[standard]] userinfo.exe", "c:\userinfo.exe", 0, null, null);

 

 

In either case, I still get a file not found error.

 

 

Any help is appreciated.


Viewing all articles
Browse latest Browse all 34639

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>