ODABAClient :: SendFile - Send file to server
The function allows sending a file to a server. Since server locations are, usually, unknown to the client, source and target (server) should refer to option variables.
// ... OSI fragment
variables
Client cl(Application::mainClient);
process
// option ErrorLog is set in server and client configuration
cl.sendFile("%ErrorLog");
Return value: - internal feature ( NPath & )
Implementation details
NPath
ODABAClient  :: SendFile ( NPath &cpath )
The function sends the file passed in sPath to the server. The location passed in path is used for client and server. In order to provide proper server location, the path should contain option variables, which may be set differently on client and server side.
When being send successfully, the function returns the server path for the file, otherwise an empty string.
- cpath - Complete file or directory path

