Creates new file on a server side.
Use this method to create files on a server side.
In case of error, EElSFTPError exception containing SFTP error code, is raised. For more information on error handling, please read the corresponding how-to article.
Note that a new file is created without read permission. If it is necessary to read from the newly created file, it should be reopened by OpenFile method in the corresponding mode.