Next Topic

Previous Topic

Book Contents

Open_ForAppend

bool Open_ForAppend(string _sPath,TLuaSFTPClientHandle hHandle)

Return value

Returns true if the file was opened successfully or false if the operation failed.

Parameters

  • sPath - Full path of file. hHandle Handle to file that is used in subsequent operations.

Remarks

Open_ForAppend opens the file in write mode, the difference between this function and the Open_ForWrite is that all data is written to the end of the file even if the file pointer would been repositioned between two writes.