I'm using the Secure FTP product from EnterpriseDT. The setup below worked for one of my projects, but it's failing with Rejected--secure connection required (code=530)
on another that pointing to a different address.
Dim ftp = New EnterpriseDT.Net.Ftp.SecureFTPConnection _
With {.LicenseOwner = "[REDACTED]", _
.LicenseKey = "[REDACTED]", _
.ServerAddress = "[REDACTED]", _
.ServerPort = 21, _
.UserName = "[REDACTED]", _
.Password = "[REDACTED]", _
.ConnectMode = EnterpriseDT.Net.Ftp.FTPConnectMode.PASV, _
.TransferType = EnterpriseDT.Net.Ftp.FTPTransferType.ASCII}
ftp.Connect()
I know all the addresses, user names, passwords, etc. are correct because I've used them all on a command-line SFTP app, so I'm assuming I'm missing something in the SecureFTPConnection setup. I've tried specifying all the valid values for SSLVersion, but that doesn't help. What is this cryptic error message trying to tell me about my setup?