_Stylo
Contributor
Contributor

Copy file to guest using the vSphere API (pyVmomi) isn't transferring the file

Hi All,

Not sure if this is the right section, But I'm having a very weird issue while trying to copying a file to a guest vm.

I'm using the pyVmomi library to copy the desired file into the desired guest vm, and everything works fine.

The problem is when I'm trying to copy files (using the same credentials and the same script) from a different computer, the file isn't being written to the vm's disk, there are no errors displayed (the return code is even 200 OK which indicates that the request was allowed and everything went well), and as far as for the network, I can see the file being transferred, it's just that it isn't being written to the disk.

 

has anyone encountered such behavior?

Thanks!

0 Kudos
0 Replies