func (s *RemoteOperations) GetRemoteFile() (rfile io.WriteCloser, err error) {
	var sftpclient SFTPClient
	sftpclient, err = s.getClient()

	if err == nil {
		rfile, err = SafeCreateSSH(sftpclient, s.remotePath)
	}

	return
}
func (s *RemoteOperations) GetRemoteFile() (rfile io.WriteCloser, err error) {
	var sftpclient SFTPClient
	sftpclient, err = s.getClient()

	if err == nil {
		rfile, err = SafeCreateSSH(sftpclient, s.remotePath)
	}

	return
}
func ( s * RemoteOperations ) GetRemoteFile ( ) ( rfile io . WriteCloser , err error ) { var sftpclient SFTPClient sftpclient , err = s . getClient ( ) if err == nil { rfile , err = SafeCreateSSH ( sftpclient , s . remotePath ) } return }
//GetRemoteFile - get a file from a remote system and return a writecloser to it
GetRemoteFile - get a file from a remote system and return a writecloser to it