# Fault - FileAlreadyExists(vim.fault.FileAlreadyExists)

Thrown by
  CopyDatastoreFile_Task, CreateChildVM_Task, CreateDirectory, CreateVM_Task, ImportVApp, MakeDirectory, MakeDirectoryInGuest, MoveDatastoreFile_Task, VsanPerfCreateStatsObject
Extends
  FileFault

## Fault Description

This fault is thrown when an operation attempts to create a file using the name of an existing file.

Properties

Name | Type | Description
--- | --- | ---
None
Properties inherited from FileFault
file
Properties inherited from VimFault
None
Properties inherited from MethodFault
faultCause, faultMessage

Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vsan="urn:vsan" name="FileAlreadyExists"> <complexContent> <extension base="vsan:FileFault"> <sequence> </sequence> </extension> </complexContent> </complexType>