Hi,

Noticed odd bug in the FTP Transfer program. Just informing you so you
can check similar situation at your side.
Simply remark the line as shown below and the FTP transfer function misbehaves.
I used OverbyteIcsSslFtpServ.exe on another machine whose logs I have
given below.

Situation : Server and Client had same single file and ideally no copy
should happen.

In demomain3.pas
_______________
procedure TForm1.AddLogText (S: string) ;
begin
    if Application.Terminated then exit ;
//    LogText.Lines.Add (S) ;   // general unformatted comments about xfers
end ;

Misbehavior, with the remark. Took long so stopped transfer.
_______________________________________________
! 192.168.0.33 connected
< 192.168.0.33 HOST allan-1
! Could not find Accounts File: c:\documents and
settings\allan\desktop\ftp\ftpaccounts-allan-1.ini
> 192.168.0.33 504 HOST unknown or not allowed.
< 192.168.0.33 USER ics
! Opening Accounts File: c:\documents and
settings\allan\desktop\ftp\ftpaccounts-default.ini
> 192.168.0.33 331 Password required for ics.
< 192.168.0.33 PASS ics
! 192.168.0.33=ics is authenticated
! 192.168.0.33=ics Home Directory: c:\temp\
> 192.168.0.33 230 User ics logged in.
< 192.168.0.33 PWD
> 192.168.0.33 257 "/" is current directory.
< 192.168.0.33 FEAT
> 192.168.0.33 211-Extensions supported:
 HOST
 SIZE
 REST STREAM
 MDTM
 MDTM YYYYMMDDHHMMSS[+-TZ] filename
 MLST size*;type*;perm*;create*;modify*;
 MFMT
 MD5
 XCRC "filename" start end
 XMD5 "filename" start end
 CLNT
 SITE INDEX;ZONE;CMLSD;DMLSD
 MODE Z
 XCMLSD
 XDMLSD
 UTF8
 LANG EN*
 OPTS MODE;UTF8;
 AUTH TLS;SSL;
 CCC
 PROT C;P;
 PBSZ
211 END
< 192.168.0.33 CLNT ICS FTP Client V7.28
> 192.168.0.33 200 Noted OK.
< 192.168.0.33 OPTS UTF8 ON
> 192.168.0.33 200 UTF8 ON Ok.
< 192.168.0.33 TYPE I
> 192.168.0.33 200 Type set to I.
< 192.168.0.33 SYST
> 192.168.0.33 215 UNIX Type: L8 Internet Component Suite
< 192.168.0.33 CWD /dsafebackftp/
> 192.168.0.33 250 CWD command successful. "/dsafebackftp" is current directory.
< 192.168.0.33 PWD
> 192.168.0.33 257 "/dsafebackftp" is current directory.
< 192.168.0.33 PASV
> 192.168.0.33 227 Entering Passive Mode (192,168,0,50,64,2).
< 192.168.0.33 XDMLSD -R
> 192.168.0.33 226 File sent ok
< 192.168.0.33 CWD /dsafebackftp/[af]/
> 192.168.0.33 250 CWD command successful. "/dsafebackftp/[af]" is current 
> directory.
> 192.168.0.33 451 Failed: Access violation at address 004B9E39 in module 
> 'OverbyteIcsSslFtpServ.exe'. Read of address 00000000.
< 192.168.0.33 PWD
> 192.168.0.33 257 "/dsafebackftp/[af]" is current directory.
< 192.168.0.33 CWD /
> 192.168.0.33 250 CWD command successful. "/" is current directory.
< 192.168.0.33 PWD
> 192.168.0.33 257 "/" is current directory.
< 192.168.0.33 CWD dsafebackftp
> 192.168.0.33 250 CWD command successful. "/dsafebackftp" is current directory.
< 192.168.0.33 CWD /dsafebackftp/[af]/
> 192.168.0.33 250 CWD command successful. "/dsafebackftp/[af]" is current 
> directory.
< 192.168.0.33 PWD
> 192.168.0.33 257 "/dsafebackftp/[af]" is current directory.
< 192.168.0.33 ALLO 67115045
> 192.168.0.33 200 ALLO OK, 41588469760 bytes available.
< 192.168.0.33 PASV
> 192.168.0.33 227 Entering Passive Mode (192,168,0,50,64,4).
< 192.168.0.33 STOR af_d1_ftp_0002f0000_zip.tmp
> 192.168.0.33 150 Opening data connection for af_d1_ftp_0002f0000_zip.tmp.
> 192.168.0.33 226 File received ok
! 192.168.0.33 disconnected


Log with the remark worked fine.
___________________________
! 192.168.0.33 connected
< 192.168.0.33 HOST allan-1
! Could not find Accounts File: c:\documents and
settings\allan\desktop\ftp\ftpaccounts-allan-1.ini
> 192.168.0.33 504 HOST unknown or not allowed.
< 192.168.0.33 USER ics
! Opening Accounts File: c:\documents and
settings\allan\desktop\ftp\ftpaccounts-default.ini
> 192.168.0.33 331 Password required for ics.
< 192.168.0.33 PASS ics
! 192.168.0.33=ics is authenticated
! 192.168.0.33=ics Home Directory: c:\temp\
> 192.168.0.33 230 User ics logged in.
< 192.168.0.33 PWD
> 192.168.0.33 257 "/" is current directory.
< 192.168.0.33 FEAT
> 192.168.0.33 211-Extensions supported:
 HOST
 SIZE
 REST STREAM
 MDTM
 MDTM YYYYMMDDHHMMSS[+-TZ] filename
 MLST size*;type*;perm*;create*;modify*;
 MFMT
 MD5
 XCRC "filename" start end
 XMD5 "filename" start end
 CLNT
 SITE INDEX;ZONE;CMLSD;DMLSD
 MODE Z
 XCMLSD
 XDMLSD
 UTF8
 LANG EN*
 OPTS MODE;UTF8;
 AUTH TLS;SSL;
 CCC
 PROT C;P;
 PBSZ
211 END
< 192.168.0.33 CLNT ICS FTP Client V7.28
> 192.168.0.33 200 Noted OK.
< 192.168.0.33 OPTS UTF8 ON
> 192.168.0.33 200 UTF8 ON Ok.
< 192.168.0.33 TYPE I
> 192.168.0.33 200 Type set to I.
< 192.168.0.33 SYST
> 192.168.0.33 215 UNIX Type: L8 Internet Component Suite
< 192.168.0.33 CWD /dsafebackftp/
> 192.168.0.33 250 CWD command successful. "/dsafebackftp" is current directory.
< 192.168.0.33 PWD
> 192.168.0.33 257 "/dsafebackftp" is current directory.
< 192.168.0.33 PASV
> 192.168.0.33 227 Entering Passive Mode (192,168,0,50,64,1).
< 192.168.0.33 XDMLSD -R
> 192.168.0.33 150 Opening data connection for directory list.
> 192.168.0.33 226 File sent ok
< 192.168.0.33 QUIT
> 192.168.0.33 221 Goodbye.
! 192.168.0.33 disconnected

Regards
Allan
-- 
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