osutils/remote_operations.go
func (s *RemoteOperations) RemoveRemoteFile() (err error) {
	var sftpclient SFTPClient
	sftpclient, err = s.getClient()

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

	return
}
func (s *RemoteOperations) RemoveRemoteFile() (err error) {
	var sftpclient SFTPClient
	sftpclient, err = s.getClient()

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

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