Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

Guest

Thanks again - I set up a test account on our server and emailed the user, host and pass to your email address listed on your personal web page.
martin

May I have a test account on your server?
ljtjr

I tried it with filezilla, core ftp and windows command line - none of them had the problem. I am hoping to use WinSCP - you guys have a great program. The xml logging is an excellent feature (among others) that is one of the only ways I have seen to get standardized dir/ls output.
martin

Ok. Do you have the problem with other FTP clients?
ljtjr

No actually I realize I misspoke in a previous post - after further testing it happens with both the GUI and the command line app. The log is from the GUI.
martin

I've understood that when login on/off using GUI, the problem does not occur. Am I wrong?
ljtjr

The following log was created (Debug Level 2 to txt file) by logging on and off the server through the GUI until the time out occurred on the last attempt. Thanks!

. 2010-08-31 15:36:37.031 --------------------------------------------------------------------------
. 2010-08-31 15:36:37.046 WinSCP Version 4.2.8 (Build 818) (OS 5.1.2600 Service Pack 3)
. 2010-08-31 15:36:37.046 Login time: Tuesday, August 31, 2010 3:36:37 PM
. 2010-08-31 15:36:37.046 --------------------------------------------------------------------------
. 2010-08-31 15:36:37.046 Session name: jgamze@ftp.natcoamerica.com
. 2010-08-31 15:36:37.046 Host name: ftp.natcoamerica.com (Port: 21)
. 2010-08-31 15:36:37.046 User name: jgamze (Password: Yes, Key file: No)
. 2010-08-31 15:36:37.046 Tunnel: No
. 2010-08-31 15:36:37.046 Transfer Protocol: FTP
. 2010-08-31 15:36:37.046 Ping type: C, Ping interval: 30 sec; Timeout: 15 sec
. 2010-08-31 15:36:37.046 Proxy: none
. 2010-08-31 15:36:37.046 FTP: FTPS: None; Passive: No [Force IP: No]
. 2010-08-31 15:36:37.046 Local directory: default, Remote directory: home, Update: No, Cache: Yes
. 2010-08-31 15:36:37.062 Cache directory changes: Yes, Permanent: Yes
. 2010-08-31 15:36:37.062 DST mode: 1
. 2010-08-31 15:36:37.062 --------------------------------------------------------------------------
. 2010-08-31 15:36:37.156 Connecting to ftp.natcoamerica.com ...
. 2010-08-31 15:36:37.156 Connected with ftp.natcoamerica.com. Waiting for welcome message...
< 2010-08-31 15:36:37.171 220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
< 2010-08-31 15:36:37.171 220-You are user number 5 of 50 allowed.
< 2010-08-31 15:36:37.171 220-Local time is now 14:36. Server port: 21.
< 2010-08-31 15:36:37.171 220-This is a private system - No anonymous login
< 2010-08-31 15:36:37.171 220-IPv6 connections are also welcome on this server.
< 2010-08-31 15:36:37.171 220 You will be disconnected after 15 minutes of inactivity.
> 2010-08-31 15:36:37.171 USER jgamze
< 2010-08-31 15:36:37.218 331 User jgamze OK. Password required
> 2010-08-31 15:36:37.218 PASS *******
< 2010-08-31 15:36:37.343 230-User jgamze has group access to: p24fptg2
< 2010-08-31 15:36:37.453 230 OK. Current restricted directory is /
> 2010-08-31 15:36:37.453 SYST
< 2010-08-31 15:36:37.453 215 UNIX Type: L8
> 2010-08-31 15:36:37.453 FEAT
< 2010-08-31 15:36:37.453 211-Extensions supported:
< 2010-08-31 15:36:37.453 EPRT
< 2010-08-31 15:36:37.453 IDLE
< 2010-08-31 15:36:37.453 MDTM
< 2010-08-31 15:36:37.453 SIZE
< 2010-08-31 15:36:37.453 REST STREAM
< 2010-08-31 15:36:37.453 MLST type*;size*;sizd*;modify*;UNIX.mode*;UNIX.uid*;UNIX.gid*;unique*;
< 2010-08-31 15:36:37.453 MLSD
< 2010-08-31 15:36:37.453 AUTH TLS
< 2010-08-31 15:36:37.453 PBSZ
< 2010-08-31 15:36:37.453 PROT
< 2010-08-31 15:36:37.453 ESTA
< 2010-08-31 15:36:37.453 PASV
< 2010-08-31 15:36:37.453 EPSV
< 2010-08-31 15:36:37.453 SPSV
< 2010-08-31 15:36:37.453 ESTP
< 2010-08-31 15:36:37.453 211 End.
. 2010-08-31 15:36:37.453 Connected
. 2010-08-31 15:36:37.453 Got reply 1 to the command 1
. 2010-08-31 15:36:37.453 --------------------------------------------------------------------------
. 2010-08-31 15:36:37.453 Using FTP protocol.
. 2010-08-31 15:36:37.453 Doing startup conversation with host.
> 2010-08-31 15:36:37.453 PWD
< 2010-08-31 15:36:37.500 257 "/" is your current location
. 2010-08-31 15:36:37.500 Got reply 1 to the command 16
. 2010-08-31 15:36:37.500 Getting current directory name.
. 2010-08-31 15:36:37.500 Retrieving directory listing...
> 2010-08-31 15:36:37.500 TYPE A
< 2010-08-31 15:36:37.531 200 TYPE is now ASCII
> 2010-08-31 15:36:37.546 PORT 192,168,1,2,10,124
< 2010-08-31 15:36:37.578 200 PORT command successful
> 2010-08-31 15:36:37.578 LIST -a
< 2010-08-31 15:36:37.656 150 Connecting to port 5003
< 2010-08-31 15:36:38.171 226-Options: -a -l
< 2010-08-31 15:36:38.171 226 6 matches total
. 2010-08-31 15:36:38.171 drwxr-xr-x 5 p24fptg2 p24fptg2 4096 Aug 30 16:23 .
. 2010-08-31 15:36:38.171 drwxr-xr-x 5 p24fptg2 p24fptg2 4096 Aug 30 16:23 ..
. 2010-08-31 15:36:38.171 -rw-r--r-- 1 p24fptg2 p24fptg2 122337 Jul 21 22:19 Feb10-June2010 Invoice.pdf
. 2010-08-31 15:36:38.171 drwxr-xr-x 2 p24fptg2 p24fptg2 4096 Sep 21 2009 TEMPLATE-SAMPLES
. 2010-08-31 15:36:38.171 drwxr-xr-x 8 p24fptg2 p24fptg2 4096 Aug 31 13:53 TRANSCRIBED-FILES
. 2010-08-31 15:36:38.171 drwxr-xr-x 4 p24fptg2 p24fptg2 4096 Aug 18 10:50 VOICE-FILES
. 2010-08-31 15:36:38.171 Directory listing successful
. 2010-08-31 15:36:38.171 Got reply 1 to the command 2
. 2010-08-31 15:36:38.171 Startup conversation with host finished.
. 2010-08-31 15:36:38.984 Session upkeep
. 2010-08-31 15:36:39.468 Session upkeep
. 2010-08-31 15:36:39.968 Session upkeep
. 2010-08-31 15:36:40.343 Got reply 1004 to the command 2
. 2010-08-31 15:36:40.343 Disconnected from server
. 2010-08-31 15:36:57.781 --------------------------------------------------------------------------
. 2010-08-31 15:36:57.781 WinSCP Version 4.2.8 (Build 818) (OS 5.1.2600 Service Pack 3)
. 2010-08-31 15:36:57.781 Login time: Tuesday, August 31, 2010 3:36:57 PM
. 2010-08-31 15:36:57.781 --------------------------------------------------------------------------
. 2010-08-31 15:36:57.781 Session name: jgamze@ftp.natcoamerica.com
. 2010-08-31 15:36:57.781 Host name: ftp.natcoamerica.com (Port: 21)
. 2010-08-31 15:36:57.781 User name: jgamze (Password: Yes, Key file: No)
. 2010-08-31 15:36:57.781 Tunnel: No
. 2010-08-31 15:36:57.781 Transfer Protocol: FTP
. 2010-08-31 15:36:57.781 Ping type: C, Ping interval: 30 sec; Timeout: 15 sec
. 2010-08-31 15:36:57.781 Proxy: none
. 2010-08-31 15:36:57.781 FTP: FTPS: None; Passive: No [Force IP: No]
. 2010-08-31 15:36:57.781 Local directory: default, Remote directory: home, Update: No, Cache: Yes
. 2010-08-31 15:36:57.781 Cache directory changes: Yes, Permanent: Yes
. 2010-08-31 15:36:57.781 DST mode: 1
. 2010-08-31 15:36:57.781 --------------------------------------------------------------------------
. 2010-08-31 15:36:57.843 Connecting to ftp.natcoamerica.com ...
. 2010-08-31 15:36:57.843 Connected with ftp.natcoamerica.com. Waiting for welcome message...
< 2010-08-31 15:36:57.890 220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
< 2010-08-31 15:36:57.890 220-You are user number 6 of 50 allowed.
< 2010-08-31 15:36:57.890 220-Local time is now 14:36. Server port: 21.
< 2010-08-31 15:36:57.890 220-This is a private system - No anonymous login
< 2010-08-31 15:36:57.890 220-IPv6 connections are also welcome on this server.
< 2010-08-31 15:36:57.890 220 You will be disconnected after 15 minutes of inactivity.
> 2010-08-31 15:36:57.890 USER jgamze
< 2010-08-31 15:36:57.937 331 User jgamze OK. Password required
> 2010-08-31 15:36:57.937 PASS *******
< 2010-08-31 15:36:58.125 230-User jgamze has group access to: p24fptg2
< 2010-08-31 15:36:58.234 230 OK. Current restricted directory is /
> 2010-08-31 15:36:58.234 SYST
< 2010-08-31 15:36:58.234 215 UNIX Type: L8
> 2010-08-31 15:36:58.234 FEAT
< 2010-08-31 15:36:58.234 211-Extensions supported:
< 2010-08-31 15:36:58.234 EPRT
< 2010-08-31 15:36:58.234 IDLE
< 2010-08-31 15:36:58.234 MDTM
< 2010-08-31 15:36:58.234 SIZE
< 2010-08-31 15:36:58.234 REST STREAM
< 2010-08-31 15:36:58.234 MLST type*;size*;sizd*;modify*;UNIX.mode*;UNIX.uid*;UNIX.gid*;unique*;
< 2010-08-31 15:36:58.234 MLSD
< 2010-08-31 15:36:58.234 AUTH TLS
< 2010-08-31 15:36:58.234 PBSZ
< 2010-08-31 15:36:58.234 PROT
< 2010-08-31 15:36:58.234 ESTA
< 2010-08-31 15:36:58.234 PASV
< 2010-08-31 15:36:58.234 EPSV
< 2010-08-31 15:36:58.234 SPSV
< 2010-08-31 15:36:58.234 ESTP
< 2010-08-31 15:36:58.234 211 End.
. 2010-08-31 15:36:58.234 Connected
. 2010-08-31 15:36:58.234 Got reply 1 to the command 1
. 2010-08-31 15:36:58.234 --------------------------------------------------------------------------
. 2010-08-31 15:36:58.234 Using FTP protocol.
. 2010-08-31 15:36:58.234 Doing startup conversation with host.
> 2010-08-31 15:36:58.234 PWD
< 2010-08-31 15:36:58.281 257 "/" is your current location
. 2010-08-31 15:36:58.281 Got reply 1 to the command 16
. 2010-08-31 15:36:58.281 Getting current directory name.
. 2010-08-31 15:36:58.281 Retrieving directory listing...
> 2010-08-31 15:36:58.281 TYPE A
< 2010-08-31 15:36:58.328 200 TYPE is now ASCII
> 2010-08-31 15:36:58.328 PORT 192,168,1,2,10,129
< 2010-08-31 15:36:58.375 200 PORT command successful
> 2010-08-31 15:36:58.375 LIST -a
< 2010-08-31 15:36:58.453 150 Connecting to port 5004
< 2010-08-31 15:36:58.953 226-Options: -a -l
< 2010-08-31 15:36:58.953 226 6 matches total
. 2010-08-31 15:36:58.953 drwxr-xr-x 5 p24fptg2 p24fptg2 4096 Aug 30 16:23 .
. 2010-08-31 15:36:58.953 drwxr-xr-x 5 p24fptg2 p24fptg2 4096 Aug 30 16:23 ..
. 2010-08-31 15:36:58.953 -rw-r--r-- 1 p24fptg2 p24fptg2 122337 Jul 21 22:19 Feb10-June2010 Invoice.pdf
. 2010-08-31 15:36:58.953 drwxr-xr-x 2 p24fptg2 p24fptg2 4096 Sep 21 2009 TEMPLATE-SAMPLES
. 2010-08-31 15:36:58.953 drwxr-xr-x 8 p24fptg2 p24fptg2 4096 Aug 31 13:53 TRANSCRIBED-FILES
. 2010-08-31 15:36:58.953 drwxr-xr-x 4 p24fptg2 p24fptg2 4096 Aug 18 10:50 VOICE-FILES
. 2010-08-31 15:36:58.953 Directory listing successful
. 2010-08-31 15:36:58.953 Got reply 1 to the command 2
. 2010-08-31 15:36:58.953 Startup conversation with host finished.
. 2010-08-31 15:36:59.656 Session upkeep
. 2010-08-31 15:37:00.156 Session upkeep
. 2010-08-31 15:37:00.656 Session upkeep
. 2010-08-31 15:37:01.156 Session upkeep
. 2010-08-31 15:37:01.656 Session upkeep
. 2010-08-31 15:37:02.171 Got reply 1004 to the command 2
. 2010-08-31 15:37:02.171 Disconnected from server
. 2010-08-31 15:37:06.171 --------------------------------------------------------------------------
. 2010-08-31 15:37:06.171 WinSCP Version 4.2.8 (Build 818) (OS 5.1.2600 Service Pack 3)
. 2010-08-31 15:37:06.171 Login time: Tuesday, August 31, 2010 3:37:06 PM
. 2010-08-31 15:37:06.171 --------------------------------------------------------------------------
. 2010-08-31 15:37:06.171 Session name: jgamze@ftp.natcoamerica.com
. 2010-08-31 15:37:06.171 Host name: ftp.natcoamerica.com (Port: 21)
. 2010-08-31 15:37:06.171 User name: jgamze (Password: Yes, Key file: No)
. 2010-08-31 15:37:06.171 Tunnel: No
. 2010-08-31 15:37:06.171 Transfer Protocol: FTP
. 2010-08-31 15:37:06.171 Ping type: C, Ping interval: 30 sec; Timeout: 15 sec
. 2010-08-31 15:37:06.171 Proxy: none
. 2010-08-31 15:37:06.171 FTP: FTPS: None; Passive: No [Force IP: No]
. 2010-08-31 15:37:06.171 Local directory: default, Remote directory: home, Update: No, Cache: Yes
. 2010-08-31 15:37:06.171 Cache directory changes: Yes, Permanent: Yes
. 2010-08-31 15:37:06.171 DST mode: 1
. 2010-08-31 15:37:06.171 --------------------------------------------------------------------------
. 2010-08-31 15:37:06.234 Connecting to ftp.natcoamerica.com ...
. 2010-08-31 15:37:06.250 Connected with ftp.natcoamerica.com. Waiting for welcome message...
< 2010-08-31 15:37:06.265 220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
< 2010-08-31 15:37:06.265 220-You are user number 7 of 50 allowed.
< 2010-08-31 15:37:06.265 220-Local time is now 14:37. Server port: 21.
< 2010-08-31 15:37:06.265 220-This is a private system - No anonymous login
< 2010-08-31 15:37:06.265 220-IPv6 connections are also welcome on this server.
< 2010-08-31 15:37:06.265 220 You will be disconnected after 15 minutes of inactivity.
> 2010-08-31 15:37:06.265 USER jgamze
< 2010-08-31 15:37:06.312 331 User jgamze OK. Password required
> 2010-08-31 15:37:06.312 PASS *******
< 2010-08-31 15:37:06.421 230-User jgamze has group access to: p24fptg2
< 2010-08-31 15:37:06.531 230 OK. Current restricted directory is /
> 2010-08-31 15:37:06.531 SYST
< 2010-08-31 15:37:06.531 215 UNIX Type: L8
> 2010-08-31 15:37:06.531 FEAT
< 2010-08-31 15:37:06.531 211-Extensions supported:
< 2010-08-31 15:37:06.531 EPRT
< 2010-08-31 15:37:06.531 IDLE
< 2010-08-31 15:37:06.531 MDTM
< 2010-08-31 15:37:06.531 SIZE
< 2010-08-31 15:37:06.531 REST STREAM
< 2010-08-31 15:37:06.531 MLST type*;size*;sizd*;modify*;UNIX.mode*;UNIX.uid*;UNIX.gid*;unique*;
< 2010-08-31 15:37:06.531 MLSD
< 2010-08-31 15:37:06.531 AUTH TLS
< 2010-08-31 15:37:06.531 PBSZ
< 2010-08-31 15:37:06.531 PROT
< 2010-08-31 15:37:06.531 ESTA
< 2010-08-31 15:37:06.531 PASV
< 2010-08-31 15:37:06.531 EPSV
< 2010-08-31 15:37:06.531 SPSV
< 2010-08-31 15:37:06.531 ESTP
< 2010-08-31 15:37:06.531 211 End.
. 2010-08-31 15:37:06.531 Connected
. 2010-08-31 15:37:06.531 Got reply 1 to the command 1
. 2010-08-31 15:37:06.531 --------------------------------------------------------------------------
. 2010-08-31 15:37:06.531 Using FTP protocol.
. 2010-08-31 15:37:06.531 Doing startup conversation with host.
> 2010-08-31 15:37:06.546 PWD
< 2010-08-31 15:37:06.578 257 "/" is your current location
. 2010-08-31 15:37:06.578 Got reply 1 to the command 16
. 2010-08-31 15:37:06.578 Getting current directory name.
. 2010-08-31 15:37:06.578 Retrieving directory listing...
> 2010-08-31 15:37:06.578 TYPE A
< 2010-08-31 15:37:06.625 200 TYPE is now ASCII
> 2010-08-31 15:37:06.625 PORT 192,168,1,2,10,134
< 2010-08-31 15:37:06.671 200 PORT command successful
> 2010-08-31 15:37:06.671 LIST -a
< 2010-08-31 15:37:06.750 150 Connecting to port 5005
< 2010-08-31 15:37:07.265 226-Options: -a -l
< 2010-08-31 15:37:07.265 226 6 matches total
. 2010-08-31 15:37:07.265 drwxr-xr-x 5 p24fptg2 p24fptg2 4096 Aug 30 16:23 .
. 2010-08-31 15:37:07.265 drwxr-xr-x 5 p24fptg2 p24fptg2 4096 Aug 30 16:23 ..
. 2010-08-31 15:37:07.265 -rw-r--r-- 1 p24fptg2 p24fptg2 122337 Jul 21 22:19 Feb10-June2010 Invoice.pdf
. 2010-08-31 15:37:07.265 drwxr-xr-x 2 p24fptg2 p24fptg2 4096 Sep 21 2009 TEMPLATE-SAMPLES
. 2010-08-31 15:37:07.265 drwxr-xr-x 8 p24fptg2 p24fptg2 4096 Aug 31 13:53 TRANSCRIBED-FILES
. 2010-08-31 15:37:07.265 drwxr-xr-x 4 p24fptg2 p24fptg2 4096 Aug 18 10:50 VOICE-FILES
. 2010-08-31 15:37:07.265 Directory listing successful
. 2010-08-31 15:37:07.265 Got reply 1 to the command 2
. 2010-08-31 15:37:07.265 Startup conversation with host finished.
. 2010-08-31 15:37:07.937 Session upkeep
. 2010-08-31 15:37:08.437 Session upkeep
. 2010-08-31 15:37:08.937 Session upkeep
. 2010-08-31 15:37:09.171 Got reply 1004 to the command 2
. 2010-08-31 15:37:09.171 Disconnected from server
. 2010-08-31 15:37:12.437 --------------------------------------------------------------------------
. 2010-08-31 15:37:12.437 WinSCP Version 4.2.8 (Build 818) (OS 5.1.2600 Service Pack 3)
. 2010-08-31 15:37:12.437 Login time: Tuesday, August 31, 2010 3:37:12 PM
. 2010-08-31 15:37:12.437 --------------------------------------------------------------------------
. 2010-08-31 15:37:12.437 Session name: jgamze@ftp.natcoamerica.com
. 2010-08-31 15:37:12.437 Host name: ftp.natcoamerica.com (Port: 21)
. 2010-08-31 15:37:12.437 User name: jgamze (Password: Yes, Key file: No)
. 2010-08-31 15:37:12.437 Tunnel: No
. 2010-08-31 15:37:12.437 Transfer Protocol: FTP
. 2010-08-31 15:37:12.437 Ping type: C, Ping interval: 30 sec; Timeout: 15 sec
. 2010-08-31 15:37:12.437 Proxy: none
. 2010-08-31 15:37:12.437 FTP: FTPS: None; Passive: No [Force IP: No]
. 2010-08-31 15:37:12.437 Local directory: default, Remote directory: home, Update: No, Cache: Yes
. 2010-08-31 15:37:12.437 Cache directory changes: Yes, Permanent: Yes
. 2010-08-31 15:37:12.437 DST mode: 1
. 2010-08-31 15:37:12.437 --------------------------------------------------------------------------
. 2010-08-31 15:37:12.500 Connecting to ftp.natcoamerica.com ...
. 2010-08-31 15:37:12.500 Connected with ftp.natcoamerica.com. Waiting for welcome message...
< 2010-08-31 15:37:12.546 220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
< 2010-08-31 15:37:12.546 220-You are user number 9 of 50 allowed.
< 2010-08-31 15:37:12.546 220-Local time is now 14:37. Server port: 21.
< 2010-08-31 15:37:12.546 220-This is a private system - No anonymous login
< 2010-08-31 15:37:12.546 220-IPv6 connections are also welcome on this server.
< 2010-08-31 15:37:12.546 220 You will be disconnected after 15 minutes of inactivity.
> 2010-08-31 15:37:12.546 USER jgamze
< 2010-08-31 15:37:12.593 331 User jgamze OK. Password required
> 2010-08-31 15:37:12.593 PASS *******
< 2010-08-31 15:37:12.703 230-User jgamze has group access to: p24fptg2
< 2010-08-31 15:37:12.812 230 OK. Current restricted directory is /
> 2010-08-31 15:37:12.812 SYST
< 2010-08-31 15:37:12.812 215 UNIX Type: L8
> 2010-08-31 15:37:12.812 FEAT
< 2010-08-31 15:37:12.812 211-Extensions supported:
< 2010-08-31 15:37:12.812 EPRT
< 2010-08-31 15:37:12.812 IDLE
< 2010-08-31 15:37:12.812 MDTM
< 2010-08-31 15:37:12.812 SIZE
< 2010-08-31 15:37:12.812 REST STREAM
< 2010-08-31 15:37:12.812 MLST type*;size*;sizd*;modify*;UNIX.mode*;UNIX.uid*;UNIX.gid*;unique*;
< 2010-08-31 15:37:12.812 MLSD
< 2010-08-31 15:37:12.812 AUTH TLS
< 2010-08-31 15:37:12.812 PBSZ
< 2010-08-31 15:37:12.812 PROT
< 2010-08-31 15:37:12.812 ESTA
< 2010-08-31 15:37:12.812 PASV
< 2010-08-31 15:37:12.812 EPSV
< 2010-08-31 15:37:12.812 SPSV
< 2010-08-31 15:37:12.812 ESTP
< 2010-08-31 15:37:12.812 211 End.
. 2010-08-31 15:37:12.812 Connected
. 2010-08-31 15:37:12.812 Got reply 1 to the command 1
. 2010-08-31 15:37:12.812 --------------------------------------------------------------------------
. 2010-08-31 15:37:12.812 Using FTP protocol.
. 2010-08-31 15:37:12.812 Doing startup conversation with host.
> 2010-08-31 15:37:12.812 PWD
< 2010-08-31 15:37:12.859 257 "/" is your current location
. 2010-08-31 15:37:12.859 Got reply 1 to the command 16
. 2010-08-31 15:37:12.859 Getting current directory name.
. 2010-08-31 15:37:12.859 Retrieving directory listing...
> 2010-08-31 15:37:12.859 TYPE A
< 2010-08-31 15:37:12.890 200 TYPE is now ASCII
> 2010-08-31 15:37:12.906 PORT 192,168,1,2,10,139
< 2010-08-31 15:37:12.937 200 PORT command successful
> 2010-08-31 15:37:12.937 LIST -a
< 2010-08-31 15:37:13.031 150 Connecting to port 5006
< 2010-08-31 15:37:13.531 226-Options: -a -l
< 2010-08-31 15:37:13.531 226 6 matches total
. 2010-08-31 15:37:13.531 drwxr-xr-x 5 p24fptg2 p24fptg2 4096 Aug 30 16:23 .
. 2010-08-31 15:37:13.531 drwxr-xr-x 5 p24fptg2 p24fptg2 4096 Aug 30 16:23 ..
. 2010-08-31 15:37:13.531 -rw-r--r-- 1 p24fptg2 p24fptg2 122337 Jul 21 22:19 Feb10-June2010 Invoice.pdf
. 2010-08-31 15:37:13.531 drwxr-xr-x 2 p24fptg2 p24fptg2 4096 Sep 21 2009 TEMPLATE-SAMPLES
. 2010-08-31 15:37:13.531 drwxr-xr-x 8 p24fptg2 p24fptg2 4096 Aug 31 13:53 TRANSCRIBED-FILES
. 2010-08-31 15:37:13.531 drwxr-xr-x 4 p24fptg2 p24fptg2 4096 Aug 18 10:50 VOICE-FILES
. 2010-08-31 15:37:13.531 Directory listing successful
. 2010-08-31 15:37:13.531 Got reply 1 to the command 2
. 2010-08-31 15:37:13.531 Startup conversation with host finished.
. 2010-08-31 15:37:14.203 Session upkeep
. 2010-08-31 15:37:14.703 Session upkeep
. 2010-08-31 15:37:15.203 Session upkeep
. 2010-08-31 15:37:15.640 Got reply 1004 to the command 2
. 2010-08-31 15:37:15.656 Disconnected from server
. 2010-08-31 15:37:18.781 --------------------------------------------------------------------------
. 2010-08-31 15:37:18.781 WinSCP Version 4.2.8 (Build 818) (OS 5.1.2600 Service Pack 3)
. 2010-08-31 15:37:18.781 Login time: Tuesday, August 31, 2010 3:37:18 PM
. 2010-08-31 15:37:18.781 --------------------------------------------------------------------------
. 2010-08-31 15:37:18.781 Session name: jgamze@ftp.natcoamerica.com
. 2010-08-31 15:37:18.781 Host name: ftp.natcoamerica.com (Port: 21)
. 2010-08-31 15:37:18.781 User name: jgamze (Password: Yes, Key file: No)
. 2010-08-31 15:37:18.781 Tunnel: No
. 2010-08-31 15:37:18.781 Transfer Protocol: FTP
. 2010-08-31 15:37:18.781 Ping type: C, Ping interval: 30 sec; Timeout: 15 sec
. 2010-08-31 15:37:18.781 Proxy: none
. 2010-08-31 15:37:18.781 FTP: FTPS: None; Passive: No [Force IP: No]
. 2010-08-31 15:37:18.781 Local directory: default, Remote directory: home, Update: No, Cache: Yes
. 2010-08-31 15:37:18.781 Cache directory changes: Yes, Permanent: Yes
. 2010-08-31 15:37:18.781 DST mode: 1
. 2010-08-31 15:37:18.781 --------------------------------------------------------------------------
. 2010-08-31 15:37:18.843 Connecting to ftp.natcoamerica.com ...
. 2010-08-31 15:37:18.843 Connected with ftp.natcoamerica.com. Waiting for welcome message...
< 2010-08-31 15:37:18.875 220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
< 2010-08-31 15:37:18.875 220-You are user number 10 of 50 allowed.
< 2010-08-31 15:37:18.875 220-Local time is now 14:37. Server port: 21.
< 2010-08-31 15:37:18.875 220-This is a private system - No anonymous login
< 2010-08-31 15:37:18.875 220-IPv6 connections are also welcome on this server.
< 2010-08-31 15:37:18.875 220 You will be disconnected after 15 minutes of inactivity.
> 2010-08-31 15:37:18.875 USER jgamze
< 2010-08-31 15:37:18.906 331 User jgamze OK. Password required
> 2010-08-31 15:37:18.906 PASS *******
< 2010-08-31 15:37:19.015 230-User jgamze has group access to: p24fptg2
< 2010-08-31 15:37:19.125 230 OK. Current restricted directory is /
> 2010-08-31 15:37:19.125 SYST
< 2010-08-31 15:37:19.125 215 UNIX Type: L8
> 2010-08-31 15:37:19.125 FEAT
< 2010-08-31 15:37:19.125 211-Extensions supported:
< 2010-08-31 15:37:19.125 EPRT
< 2010-08-31 15:37:19.125 IDLE
< 2010-08-31 15:37:19.125 MDTM
< 2010-08-31 15:37:19.125 SIZE
< 2010-08-31 15:37:19.125 REST STREAM
< 2010-08-31 15:37:19.125 MLST type*;size*;sizd*;modify*;UNIX.mode*;UNIX.uid*;UNIX.gid*;unique*;
< 2010-08-31 15:37:19.125 MLSD
< 2010-08-31 15:37:19.125 AUTH TLS
< 2010-08-31 15:37:19.125 PBSZ
< 2010-08-31 15:37:19.125 PROT
< 2010-08-31 15:37:19.125 ESTA
< 2010-08-31 15:37:19.125 PASV
< 2010-08-31 15:37:19.140 EPSV
< 2010-08-31 15:37:19.140 SPSV
< 2010-08-31 15:37:19.140 ESTP
< 2010-08-31 15:37:19.140 211 End.
. 2010-08-31 15:37:19.140 Connected
. 2010-08-31 15:37:19.140 Got reply 1 to the command 1
. 2010-08-31 15:37:19.140 --------------------------------------------------------------------------
. 2010-08-31 15:37:19.140 Using FTP protocol.
. 2010-08-31 15:37:19.140 Doing startup conversation with host.
> 2010-08-31 15:37:19.140 PWD
< 2010-08-31 15:37:19.171 257 "/" is your current location
. 2010-08-31 15:37:19.171 Got reply 1 to the command 16
. 2010-08-31 15:37:19.171 Getting current directory name.
. 2010-08-31 15:37:19.171 Retrieving directory listing...
> 2010-08-31 15:37:19.171 TYPE A
< 2010-08-31 15:37:19.218 200 TYPE is now ASCII
> 2010-08-31 15:37:19.218 PORT 192,168,1,2,10,144
< 2010-08-31 15:37:19.265 200 PORT command successful
> 2010-08-31 15:37:19.265 LIST -a
< 2010-08-31 15:37:19.343 150 Connecting to port 5007
< 2010-08-31 15:37:19.843 226-Options: -a -l
< 2010-08-31 15:37:19.843 226 6 matches total
. 2010-08-31 15:37:19.843 drwxr-xr-x 5 p24fptg2 p24fptg2 4096 Aug 30 16:23 .
. 2010-08-31 15:37:19.843 drwxr-xr-x 5 p24fptg2 p24fptg2 4096 Aug 30 16:23 ..
. 2010-08-31 15:37:19.843 -rw-r--r-- 1 p24fptg2 p24fptg2 122337 Jul 21 22:19 Feb10-June2010 Invoice.pdf
. 2010-08-31 15:37:19.843 drwxr-xr-x 2 p24fptg2 p24fptg2 4096 Sep 21 2009 TEMPLATE-SAMPLES
. 2010-08-31 15:37:19.843 drwxr-xr-x 8 p24fptg2 p24fptg2 4096 Aug 31 13:53 TRANSCRIBED-FILES
. 2010-08-31 15:37:19.843 drwxr-xr-x 4 p24fptg2 p24fptg2 4096 Aug 18 10:50 VOICE-FILES
. 2010-08-31 15:37:19.859 Directory listing successful
. 2010-08-31 15:37:19.859 Got reply 1 to the command 2
. 2010-08-31 15:37:19.859 Startup conversation with host finished.
. 2010-08-31 15:37:20.546 Session upkeep
. 2010-08-31 15:37:21.046 Session upkeep
. 2010-08-31 15:37:21.546 Session upkeep
. 2010-08-31 15:37:22.125 Got reply 1004 to the command 2
. 2010-08-31 15:37:22.125 Disconnected from server
. 2010-08-31 15:37:26.750 --------------------------------------------------------------------------
. 2010-08-31 15:37:26.750 WinSCP Version 4.2.8 (Build 818) (OS 5.1.2600 Service Pack 3)
. 2010-08-31 15:37:26.750 Login time: Tuesday, August 31, 2010 3:37:26 PM
. 2010-08-31 15:37:26.750 --------------------------------------------------------------------------
. 2010-08-31 15:37:26.750 Session name: jgamze@ftp.natcoamerica.com
. 2010-08-31 15:37:26.750 Host name: ftp.natcoamerica.com (Port: 21)
. 2010-08-31 15:37:26.750 User name: jgamze (Password: Yes, Key file: No)
. 2010-08-31 15:37:26.750 Tunnel: No
. 2010-08-31 15:37:26.750 Transfer Protocol: FTP
. 2010-08-31 15:37:26.750 Ping type: C, Ping interval: 30 sec; Timeout: 15 sec
. 2010-08-31 15:37:26.750 Proxy: none
. 2010-08-31 15:37:26.750 FTP: FTPS: None; Passive: No [Force IP: No]
. 2010-08-31 15:37:26.765 Local directory: default, Remote directory: home, Update: No, Cache: Yes
. 2010-08-31 15:37:26.765 Cache directory changes: Yes, Permanent: Yes
. 2010-08-31 15:37:26.765 DST mode: 1
. 2010-08-31 15:37:26.765 --------------------------------------------------------------------------
. 2010-08-31 15:37:26.828 Connecting to ftp.natcoamerica.com ...
. 2010-08-31 15:37:26.828 Connected with ftp.natcoamerica.com. Waiting for welcome message...
< 2010-08-31 15:37:26.843 421 Too many connections (8) from this IP
. 2010-08-31 15:37:26.843 Disconnected from server
. 2010-08-31 15:37:26.843 Connection failed.
. 2010-08-31 15:37:26.843 Got reply 1004 to the command 1
* 2010-08-31 15:37:26.859 (ESshFatal) Connection failed.
* 2010-08-31 15:37:26.859 Disconnected from server
* 2010-08-31 15:37:26.859 Connection failed.
* 2010-08-31 15:37:26.859 Too many connections (8) from this IP
martin

Can you post a log file showing script execution, where connection is not terminated correctly on the server; and another log file fron GUI, where connection is terminated correctly?
ljtjr

Thank you for the replay and sorry for the delay. I tried this with 4.2.7 and 4.2.8 using the portable exe and the command line tool. Both versions cause the same problem. I confirmed in task manager that no WinSCP related application or process is running (as far as I could tell) after I terminate each session.
martin

What version are you using? Can you try 4.2.7?
ljtjr

Too Many Simultaneous Connections Error

Hello,

I have a "Too many simultaneous connections error" when using a
batch file. The batch file is:

open ftp://" & strUser & ":" & strPass & "@" & strHost
ls " & Chr(34) & strRemoteDir & Chr(34)
close
exit

Winscp.com is executed from shell within VB with xml logging enabled. When I run this script the first 8 times against a register.com ftp site it seems to work fine. On the 9th try the script is unable to retrieve the ls listing. When I try to log in to that site manually via winscp.exe after the script stops working I get a "too many simultaneous connections" error, which also occurs with other FTP clients. The script will start working again in 15 minutes or so (presumably when sessions which should have been closed by the script are not actually closed, and timeout at the server). I have tried logging in to the ftp site manually 9 times at once, and get
the same error,but as soon as the number of simultaneous connections are reduced to less than 8, additional sessions can be opened immediately. This script is only called once at a time. It is almost as if the "close" then "exit" commands are not actually terminating the session with the server. Any help would be much appreciated!