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
}
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
}
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 }
//UploadFile - allows us to upload the contents of the given reader
UploadFile - allows us to upload the contents of the given reader