Next Topic

Previous Topic

Book Contents

Write

int Write(string sData,int iSize)

Return values

Non zero if the function is successful; otherwise 0, and a specific error code can be retrieved by calling global function GetLastError.

Parameters

  • sData - Array of data to be written to file.
  • iSize - Size of array to be written.

Remarks

This function will fail if a file have not been opened or if the file is opened in read only mode. The function can also fail if the storage on the FTP server is exhausted.