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"
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 can access the FTP server without problems using Filezilla and PSFTP (the Putty FTP command line file).
You'd probably need to contact whoever wrote that module for support. However, "Unable to connect to the remote server" generally indicates a simple connection failure, not anything to do with authentication. When you connect to the server with filezilla, what URL do you use? is it just "ftp://192.168.214.103" ?
Not even the ftp prefix..... just 192.168.214.103
Yup...nothing too fancy. Here are the results form the FileZilla command window...
Connecting to 192.168.214.103...
You must be logged in to reply to this topic.