Create a new file or overwrite an existing file.
This method returns a Boolean value. If the method succeeds, the return value is true. If the method fails, the return value is false. To get extended error information, check the value of the LastError property.
The CreateFile method creates a new file on the remote server using the specified file name. The Write method may then be used to copy data to the open file. The user must have the appropriate permission to create the file on the server