int OpenFile(string sFilename,bool bWrite,bool bText)
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
Remarks
The function opens a file on the FTP server, after the file is opened calls to Write and Read function can be made. The CloseFile function is used to close the file.