title: FTP code producing "secure connection required (code=530)"
body: <p>I'm using the Secure FTP product from <a href="http://www.enterprisedt.com/" rel="nofollow noreferrer">EnterpriseDT</a>. The setup below worked for one of my projects, but it's failing with <code>Rejected--secure connection required (code=530)</code> on another that pointing to a different address.</p>
  
  <pre><code>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()
  </code></pre>
  
  <p>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?</p>