code: func (s *RemoteOperations) UploadFile(lfile io.Reader) (err error) {
  	var rfile io.WriteCloser
  
  	if rfile, err = s.GetRemoteFile(); err == nil {
  		defer rfile.Close()
  		_, err = io.Copy(rfile, lfile)
  	}
  	return
  }
docs: //UploadFile - allows us to upload the contents of the given reader