I've reproduced this problem yesterday and I did it right now again (many 
times). 

start OverbyteIcsFtpServ.exe from your archive.
start xferdemo2.exe -> activate options: No Feta, No Mode Z, No MD5/CRC Check, 
No TMP File for UP/DOWN, all diagnostics level activated -> click "Check 
Upload" -> the problem occurs after first LIST -> CPU utilisation = 99% 

LOGs:

-------- Server LOG 

FtpServer (c) 1998-2008 F. Piette V1.10
Using:
    TWSocket (c) 1996-2007 Francois Piette V6.08 
    TFtpServer (c) 1998-2008 F. Piette V1.57 
    Winsock:
        Version 2.2
        WinSock 2.0
        Running
! Server started
! 127.0.0.1=(Not Logged On) connected
< 127.0.0.1=(Not Logged On) USER anonymous
> 127.0.0.1=anonymous [0ms] 331 Password required for anonymous.
< 127.0.0.1=anonymous PASS test@
! 127.0.0.1=anonymous is authenticated
! 127.0.0.1=anonymous Home Directory: c:\temp\
> 127.0.0.1=anonymous [0ms] 230 User anonymous logged in.
< 127.0.0.1=anonymous PWD 
> 127.0.0.1=anonymous [0ms] 257 "/c:/temp" is current directory.
< 127.0.0.1=anonymous TYPE I
> 127.0.0.1=anonymous [0ms] 200 Type set to I.
< 127.0.0.1=anonymous SYST 
> 127.0.0.1=anonymous [0ms] 215 UNIX Type: L8 Internet Component Suite
< 127.0.0.1=anonymous CWD /c:/temp/
> 127.0.0.1=anonymous [0ms] 250 CWD command successful. "/c:/temp" is current 
> directory.
< 127.0.0.1=anonymous PWD 
> 127.0.0.1=anonymous [0ms] 257 "/c:/temp" is current directory.
< 127.0.0.1=anonymous PASV 
> 127.0.0.1=anonymous [0ms] 227 Entering Passive Mode (127,0,0,1,82,9).
< 127.0.0.1=anonymous LIST 
! 127.0.0.1=anonymous Directory Listing Path: c:\temp\*.*
drw-rw-rw-   1 ftp      ftp            0 Mar 09 15:19 .
drw-rw-rw-   1 ftp      ftp            0 Mar 09 15:19 ..

> 127.0.0.1=anonymous [0ms] 150 Opening data connection for directory list.
! 127.0.0.1=anonymous Directory 115bytes sent in 120 seconds (0bytes/sec)
> 127.0.0.1=anonymous [120094ms] 501 Cannot RETR. Error - Connection aborted 
> (#10053)
! 127.0.0.1=anonymous Data session closed. Error #10053
< 127.0.0.1=anonymous QUIT 
> 127.0.0.1=anonymous [0ms] 221 Goodbye.
! 127.0.0.1=anonymous disconnected after 120 secs, total recv 85, total xmit 548


---------- Client LOG

Source Directory: D:\FTP\TestDirs
Connecting to FTP Server: 
Connect/Logon to FTP Server: localhost:21
15:25:05:937 TWSocket will connect to 127.0.0.1:21
< 220-Welcome to my Server
< 220-
< 220 ICS FTP Server ready.
FTP Session Connected to 127.0.0.1
> USER anonymous
15:25:05:937 00A88B2C PutDataInSendBuffer 264  len 16 [1]
15:25:05:937 00A88B2C TryToSend 264
15:25:05:937 00A88B2C TryToSend 264
< 331 Password required for anonymous.
> PASS ****
15:25:05:937 00A88B2C PutDataInSendBuffer 264  len 12 [2]
15:25:05:937 00A88B2C TryToSend 264
15:25:05:937 00A88B2C TryToSend 264
< 230 User anonymous logged in.
15:25:05:953 00A88B2C TryToSend 264
230 User anonymous logged in.
> PWD
15:25:05:953 00A88B2C PutDataInSendBuffer 264  len 5 [3]
15:25:05:953 00A88B2C TryToSend 264
< 257 "/c:/temp" is current directory.
15:25:05:953 00A88B2C TryToSend 264
Current Directory: /c:/temp/
Succesfully logged onto FTP Server: anonymous
> TYPE I
15:25:05:953 00A88B2C PutDataInSendBuffer 264  len 8 [4]
15:25:05:953 00A88B2C TryToSend 264
< 200 Type set to I.
15:25:05:953 00A88B2C TryToSend 264
Succesfully logged onto FTP Server: anonymous
> SYST
15:25:05:953 00A88B2C PutDataInSendBuffer 264  len 6 [5]
15:25:05:953 00A88B2C TryToSend 264
< 215 UNIX Type: L8 Internet Component Suite
15:25:05:953 00A88B2C TryToSend 264
UNIX Type: L8 Internet Component Suite
Checking files already on FTP Server
> CWD /c:/temp/
15:25:05:968 00A88B2C PutDataInSendBuffer 264  len 15 [6]
15:25:05:968 00A88B2C TryToSend 264
< 250 CWD command successful. "/c:/temp" is current directory.
15:25:05:968 00A88B2C TryToSend 264
> PWD
15:25:05:968 00A88B2C PutDataInSendBuffer 264  len 5 [7]
15:25:05:968 00A88B2C TryToSend 264
< 257 "/c:/temp" is current directory.
15:25:05:968 00A88B2C TryToSend 264
> PASV
15:25:06:171 00A88B2C PutDataInSendBuffer 264  len 6 [8]
15:25:06:171 00A88B2C TryToSend 264
< 227 Entering Passive Mode (127,0,0,1,82,9).
15:25:06:171 ! Data Socket Connect
15:25:06:171 TWSocket will connect to 127.0.0.1:21001
> LIST
15:25:06:171 00A88B2C PutDataInSendBuffer 264  len 6 [9]
15:25:06:171 00A88B2C TryToSend 264
15:25:06:171 00A88B2C TryToSend 264
< 150 Opening data connection for directory list.
15:25:06:171 00A88B2C TryToSend 264
15:25:06:171 ! Data Session Connected (Get)
15:25:06:171 00A89480 TryToSend 296
< 501 Cannot RETR. Error - Connection aborted (#10053)
15:27:06:265 00A89480 *CloseCalled 296
15:27:06:265 00A89480 TCustomWSocket.Shutdown 1 296
15:27:06:265 ! Data Session closed
! RETR/LIST/NLST Failed
Directory Listing Abandoned, Failed Response
Request Failed: 501 Cannot RETR. Error - Connection aborted (#10053)
Failed to List Files on FTP Server
Logging Off from FTP Server
> QUIT
15:27:06:265 00A88B2C PutDataInSendBuffer 264  len 6 [10]
15:27:06:265 00A88B2C TryToSend 264
< 221 Goodbye.
15:27:06:265 00A88B2C *CloseCalled 264
15:27:06:265 00A88B2C TCustomWSocket.Shutdown 1 264
FTP Session Closed
Task Result: Failed
Request Failed: 501 Cannot RETR. Error - Connection aborted (#10053)



09.03.08, 16:45, "Angus Robertson - Magenta Systems Ltd" <[EMAIL PROTECTED]>:

> > as I read in Archives (you discussion with 
> > Francois), you use Synchronous mode and sleep. 
> I do use synchronous mode, but I don't use sleep because that stops
> everything else running in the same application, and considerably slows
> down transfer speed.  
> > Just create random 
> > directory structure (with many subdirs) and try to transfer it to 
> > the server on lan (or on the same machine).
> I do a lot of FTP testing, including massive directory structures (for
> which there are improvements in the latest V6), and I don't see any
> problems.  I do test to the same PC sometimes, but this is not a
> realistic 'real world' application so is not really relevant to anything.
> If you can reproduce the problem with logs using xferdemo2.exe (which
> will transfer directory structures) in  
> http://www.magsys.co.uk/download/software/ics-ftp-2008-03-03.zip
> then I will look at the problem in V6 only. 
> Angus
-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to