Topic "Problems with connecting to ftps site."

Author Message
JimLewis
[View user's profile]

Joined: 2009-07-29
Posts: 7
Location: UK
I am testing winscp 4.2.6 to fetch and put files to a Titan setup ftps site and am unable to consistently maintain a stable connection.

For example, I have attempted an FTPS fetch...

.\WINSCP426.exe /log=FTPS_FETCH_20100304_170637.LOG /ini=WINSCP426.ini /command "open FTPS://xxxxxxxxxxx:xxxxxxxx@xxxxxxxxxx -explicitssl -passive -timeout=45" "option reconnecttime 45" "option batch on" "option confirm off" "binary" "lcd \\SERVERTST01\DATA$\DEV\WINSCPTESTS\DESTINATION" "cd SOURCE" "get *.FTPS.TXT" exit

...and Titan reports it has responded back to winscp. However winscp claims the connection failed although it then claims to have "Got reply 1004 to the command 1"?

winscp log
==========

. 2010-03-04 17:06:37.703 --------------------------------------------------------------------------
. 2010-03-04 17:06:37.703 WinSCP Version 4.2.6 (Build 721) (OS 5.2.3790 Service Pack 2)
. 2010-03-04 17:06:37.703 Login time: 04 March 2010 17:06:37
. 2010-03-04 17:06:37.703 --------------------------------------------------------------------------
. 2010-03-04 17:06:37.703 Session name: ********@***.***.***.***
. 2010-03-04 17:06:37.703 Host name: ***.***.***.*** (Port: 21)
. 2010-03-04 17:06:37.703 User name: ******** (Password: Yes, Key file: No)
. 2010-03-04 17:06:37.703 Tunnel: No
. 2010-03-04 17:06:37.703 Transfer Protocol: FTP
. 2010-03-04 17:06:37.703 Ping type: C, Ping interval: 30 sec; Timeout: 45 sec
. 2010-03-04 17:06:37.703 Proxy: none
. 2010-03-04 17:06:37.703 FTP: FTPS: Explicit SSL; Passive: Yes [Force IP: No]
. 2010-03-04 17:06:37.703 Local directory: default, Remote directory: home, Update: No, Cache: Yes
. 2010-03-04 17:06:37.703 Cache directory changes: Yes, Permanent: Yes
. 2010-03-04 17:06:37.703 DST mode: 1
. 2010-03-04 17:06:37.703 --------------------------------------------------------------------------
. 2010-03-04 17:06:37.719 Connecting to ***.***.***.*** ...
. 2010-03-04 17:06:37.719 m_pSslLayer changed state from 0 to 1
. 2010-03-04 17:06:37.719 m_pSslLayer changed state from 1 to 2
. 2010-03-04 17:06:37.719 m_pSslLayer changed state from 2 to 4
. 2010-03-04 17:06:37.719 Connected with ***.***.***.***, negotiating SSL connection...
< 2010-03-04 17:06:37.719 220 Titan MFT Server 7.01.843 Ready.
> 2010-03-04 17:06:37.719 AUTH SSL
. 2010-03-04 17:07:08.250 m_pSslLayer changed state from 4 to 5
. 2010-03-04 17:07:08.250 Disconnected from server
. 2010-03-04 17:07:08.250 Connection failed.
. 2010-03-04 17:07:08.250 Got reply 1004 to the command 1

Titan log
=========

2010-03-04 17:06:37 [50/9772/d8] New incoming connection from IP address: ***.***.***.***, port: 2106, socket=6496/0x1960
2010-03-04 17:06:37 [50/9772/d8] OnPostCreation(pBaseCxn=0x154cfaa0,socket=6496/0x1960), sending 220 Welcome
2010-03-04 17:06:37 [50/6496/d8] RESPONSE: 220 Titan MFT Server 7.01.843 Ready.
2010-03-04 17:06:37 [50/6496/15a8] COMMAND: AUTH SSL
2010-03-04 17:06:37 [50/6496/15a8] RESPONSE: 234 Security data exchange complete.
2010-03-04 17:07:08 [50/9772/d8] Closed connection from IP address: ***.***.***.***, port: 2106


I'm note sure where the problem is. I can't really tell from these logs which side is initiating the closure. It looks like Titan may have closed, having given up waiting on further commands from winscp but I'm not sure.

If I keep repeating the transfer, it eventually works but this isn't ideal.

Can you advise please?

DETAILS

OS Windows Server 2003
Current version of winscp used for ftps transfer = N/A
Testing version = 4.2.6
Methodology: Scripting/automation
SFTP site: Titan run site supporting FTPS only.

Remote system = UNIX Type: L8
Session protocol = FTP
Compression = No
------------------------------------------------------------
Certificate fingerprint
***************************************************************
------------------------------------------------------------
Can change permissions = Yes
Can change owner/group = No
Can execute arbitrary command = Protocol commands only
Can create symlink/hardlink = No/No
Can lookup user groups = No
Can duplicate remote files = No
Can check available space = No
Can calculate file checksum = No
Native text (ASCII) mode transfers = No
------------------------------------------------------------
Additional information
The server supports these FTP additional features:
COMB
MLST type*;size*;modify*;create*;perm*;
SIZE
MDTM
MFMT
MFCT
XCRC
REST STREAM
AUTH SSL
AUTH TLS
CCC
PBSZ
PROT
EPRT
EPSV
DQTA
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License