Uploads the file.
Use this method when you want to upload a file to remote system.
The method uses PipelineLength and UploadBlockSize to calculate the size of the chunks, which are sent to the server.
To select ASCII or binary transfer mode use ASCIIMode property.
In case of error, EElSFTPError exception containing SFTP error code, is raised. For more information on error handling, please read the corresponding how-to article.