Trying to use the FTP Module, to create a connection to an FTP server. and I pretty much the same error message each time I run command.
PS >Set-FTPConnection -Credentials $MyCred -Server 192.168.214.103
Set-FTPConnection : Exception calling “GetResponse” with “0” argument(s): “Unable to connect to the remote server”
At line:1 char:1
- Set-FTPConnection -Credentials $MyCred -Server 192.168.214.103
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Set-FTPConnection
I’ve tried all manner of command parameters etc.
I didn’t know if there was a way to unpack the response so as to find out where the problem lies?
I don’t know if there is some way to view the credentials from Set-Credential to verify what is being passed for name and password?
I can access the FTP server without problems using Filezilla and PSFTP (the Putty FTP command line file).