title: idFTP + Connection Timeout
body: <p>I had been trying to get a file from a ftp server, but everytime a try to connect using my code i've got the same error:</p>
  
  <p><strong>EIdSocketError: Socket Error # 10060
  Connection timed out.</strong></p>
  
  <p>using Filezilla 3.4, I can connect and download the files, my code:</p>
  
  <pre><code>var
    objFTP: TidFTP;
  begin
    try
      objFTP := TIdFTP.Create;
      try
        objFTP.Disconnect;
        objFTP.Host := '200.1.81.252';
        objFTP.Port := 990;
        objFTP.Username := 'user_name';
        objFTP.Password := 'user_pass';
        objFTP.Passive := True;
        objFTP.IOHandler := TIdSSLIOHandlerSocketOpenSSL.Create(objFTP);
        objFTP.UseTLS := utUseRequireTLS;
        objFTP.TransferTimeout := 120000;
        try
          objFTP.Connect;
          objFTP.ChangeDir('/salida/acciones/2015-05-20');
          objFTP.Get('SW052015.003', 'C:\SW052015.txt');
        finally
          objFTP.Disconnect;
        end;
      finally
        FreeAndNil(objFTP);
      end;
    except
      on E: Exception do
        Writeln(E.ClassName, ': ', E.Message);
    end;
  </code></pre>
  
  <p>any suggestions?</p>
  
  <p>Configurations on FileZilla:</p>
  
  <p>Authentication port: 990</p>
  
  <p>Data transfer port: 9080 (don't know what this is)</p>
  
  <p>Encryption: Required explicit FTP over TLS</p>
  
  <p>Passive mode</p>
  
  <p>Force UTF-8</p>