company logo

Client :: sendFile - Send file to server

Return value:  File path ( odaba::String & )

Implementation details

odaba::String Client  :: sendFile ( odaba::String &sPath )

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.

  • sPath - File path