Support > Knowledge Base
Knowledge Base

Search the Knowledge Base: |
Search the Knowledge Base: |
Replacing Existing VMDK by Using FileOperation.replace Returns an Error
Details
I am trying to programmatically replace a VMDK with another VMDK file in the flat file format. I used the FileOperation from the VI SDK and received an error.
Solution
You cannot use VirtualDeviceConfigSpecFileOperation.replace to replace VMDK files on disk. This operation is only supported for floppy images.
Keywords
Feedback
Actions
- KB Article: 1003567
- Updated: Aug 14, 2009
- Products:
VMware Infrastructure SDK - Product Versions:
VMware Infrastructure SDK 2.0.x

