Não consigo me conectar ao servidor FTP via Modo Ativo.
Filezilla with Active mode setting
/*******************************************************************************/
Status: Connecting to xx.xx.xx.xx:21...
Status: Connection established, waiting for welcome message...
Error: Could not connect to server
Status: Waiting to retry...
Status: Connecting to xx.xx.xx.xx:21...
Status: Connection established, waiting for welcome message...
Error: Could not connect to server
/*******************************************************************************/
Windows Command Prompt (After disabling Passive mode in Internet Options)
/*******************************************************************************/
ftp> open
To xx.xx.xx.xx
Connected to xx.xx.xx.xx.
Connection closed by remote host.
ftp>
/*******************************************************************************/
Verifiquei por meio de varredura de porta, as portas 21 e 80 estão abertas. Eu adicionei exceção de firewall e desabilitei antivírus
Atualização do administrador do servidor: ele consegue se conectar e a seguir está o log:
Status: Connecting to xx.xx.xx.xx:21...
Status: Connection established, waiting for welcome message...
Response: 220 Microsoft FTP Service
Command: USER Username
Response: 331 Password required for Username.
Command: PASS ********
Response: 230-Welcome to ftp.site.com
Response: Access to this site is monitored and logged.
Response: Access is restricted to Authorized users only.
Response: If you are not authorized to access this service please disconnect now.
Response: If you encounter any problems, please send a mail to [email protected] for any problems with this service.
Response: 230 User Username logged in.
Command: SYST
Response: 215 Windows_NT
Command: FEAT
Response: 211-FEAT
Response: SIZE
Response: MDTM
Response: 211 END
Status: Server does not support non-ASCII characters.
Status: Logged in
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/" is current directory.
Command: TYPE I
Response: 200 Type set to I.
Command: PORT 192,168,0,201,226,200
Response: 200 PORT command successful.
Command: LIST
Response: 150 Opening BINARY mode data connection for /bin/ls.
Response: 226 Transfer complete.
Status: Calculating timezone offset of server...
Command: MDTM Global.asax
Response: 213 20080825114103
Status: Timezone offset of server is -21600 seconds.
Status: Directory listing of "/" successful
Atualização: Finalmente, o administrador do servidor concordou em analisar o problema e solicitou o IP usado para conexão. Após alterações do seu final; a conexão e o login foram bem-sucedidos, mas a listagem do diretório está apresentando erro.
Status: Connecting to xx.xx.xx.xx:21...
Status: Connection established, waiting for welcome message...
Status: Insecure server, it does not support FTP over TLS.
Status: Server does not support non-ASCII characters.
Status: Logged in
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/" is current directory.
Command: TYPE I
Response: 200 Type set to I.
Command: PORT 192,168,1,100,192,167
Response: 500 Invalid PORT Command.
Error: Failed to retrieve directory listing