martin wrote:
Please post a full log file showing the problem.
Hi Prikryl,
I've closed off ports on the server, keeping only 990 and 21 open as well as 4090 (picked up at random). Then I've tried to log in into the remote ftp server and here's the log:
. 2010-02-23 11:45:44.796 --------------------------------------------------------------------------
. 2010-02-23 11:45:44.796 WinSCP Version 4.2.3 (Build 494) (OS 5.2.3790 Service Pack 2)
. 2010-02-23 11:45:44.796 Login time: Tuesday, 23 February 2010 11:45:44 AM
. 2010-02-23 11:45:44.796 --------------------------------------------------------------------------
. 2010-02-23 11:45:44.796 Session name: name
. 2010-02-23 11:45:44.796 Host name: ftp.DOMAIN.COM (Port: 990)
. 2010-02-23 11:45:44.796 User name: UNAME (Password: Yes, Key file: No)
. 2010-02-23 11:45:44.796 Tunnel: No
. 2010-02-23 11:45:44.796 Transfer Protocol: FTP
. 2010-02-23 11:45:44.796 Ping type: C, Ping interval: 30 sec; Timeout: 150 sec
. 2010-02-23 11:45:44.796 Proxy: none
. 2010-02-23 11:45:44.796 FTP: FTPS: Implicit SSL/TLS; Passive: Yes [Force IP: No]
. 2010-02-23 11:45:44.796 Local directory: default, Remote directory: home, Update: No, Cache: Yes
. 2010-02-23 11:45:44.796 Cache directory changes: Yes, Permanent: Yes
. 2010-02-23 11:45:44.796 DST mode: 0
. 2010-02-23 11:45:44.796 --------------------------------------------------------------------------
. 2010-02-23 11:45:44.984 Connecting to ftp.DOMAIN.com:990 ...
. 2010-02-23 11:45:45.203 Connected with ftp.DOMAIN.com:990, negotiating SSL connection...
. 2010-02-23 11:45:45.421 SSL connection established. Waiting for welcome message...
< 2010-02-23 11:45:45.421 220-Microsoft FTP Service
< 2010-02-23 11:45:45.421 220 Company name FTP Service
> 2010-02-23 11:45:45.421 USER UNAME
< 2010-02-23 11:45:45.453 331 Password required for UNAME.
> 2010-02-23 11:45:45.453 PASS ********
< 2010-02-23 11:45:45.546 230-Authorised Users Only.
< 2010-02-23 11:45:45.546 230 User logged in.
> 2010-02-23 11:45:45.546 SYST
< 2010-02-23 11:45:45.593 215 Windows_NT
> 2010-02-23 11:45:45.593 FEAT
< 2010-02-23 11:45:45.625 211-Extended features supported:
< 2010-02-23 11:45:45.703 LANG EN*
< 2010-02-23 11:45:45.703 UTF8
< 2010-02-23 11:45:45.703 AUTH TLS;TLS-C;SSL;TLS-P;
< 2010-02-23 11:45:45.703 PBSZ
< 2010-02-23 11:45:45.703 PROT C;P;
< 2010-02-23 11:45:45.703 CCC
< 2010-02-23 11:45:45.703 HOST
< 2010-02-23 11:45:45.703 SIZE
< 2010-02-23 11:45:45.703 MDTM
< 2010-02-23 11:45:45.703 REST STREAM
< 2010-02-23 11:45:45.703 211 END
> 2010-02-23 11:45:45.703 OPTS UTF8 ON
< 2010-02-23 11:45:45.703 200 OPTS UTF8 command successful - UTF8 encoding now ON.
> 2010-02-23 11:45:45.703 PBSZ 0
< 2010-02-23 11:45:45.703 200 PBSZ command successful.
> 2010-02-23 11:45:45.703 PROT P
< 2010-02-23 11:45:45.734 200 PROT command successful.
. 2010-02-23 11:45:45.734 Connected
. 2010-02-23 11:45:45.734 --------------------------------------------------------------------------
. 2010-02-23 11:45:45.734 Using FTP protocol.
. 2010-02-23 11:45:45.734 Doing startup conversation with host.
> 2010-02-23 11:45:45.734 PWD
< 2010-02-23 11:45:45.765 257 "/remotefolder" is current directory.
. 2010-02-23 11:45:45.781 Getting current directory name.
. 2010-02-23 11:45:45.781 Retrieving directory listing...
> 2010-02-23 11:45:45.781 TYPE A
< 2010-02-23 11:45:45.812 200 Type set to A.
> 2010-02-23 11:45:45.812 PASV
< 2010-02-23 11:45:45.859 227 Entering Passive Mode (XXX,XX,XXX,XX,19,54).
> 2010-02-23 11:45:45.859 LIST -a
< 2010-02-23 11:45:45.906 150 Opening ASCII mode data connection.
. 2010-02-23 11:45:46.859 Transfer channel can't be opened. Reason: No connection could be made because the target machine actively refused it.
. 2010-02-23 11:45:46.875 Could not retrieve directory listing
> 2010-02-23 11:46:15.921 REST 0
Please note I've removed IP (the XXXs) and other sensitive info. Thanks again and much appreciated.
George