Next Topic

Previous Topic

Book Contents

CreateFile

bool CreateFile(string sPath,TLuaSFTPClientHandle hHandle )

Return value

Returns true if the file was created or false if the operation failed. The TLuaSFTPClientHandle contains a reference to the open if the operation succeeded.

Parameters

  • sPath - Full path of file to create. Directories included in path must exist or the operation fails
  • hHandle - Handle to create file.

Remarks

The newly created file have read write access rights.