I have the OnFtpStateChange producing messages which I can add to my history
log, but is there a way of adding these messages into the ICS logger?

Graham

-----Original Message-----
From: twsocket-boun...@elists.org [mailto:twsocket-boun...@elists.org] On
Behalf Of Angus Robertson - Magenta Systems Ltd
Sent: 04 December 2012 15:52
To: twsocket@elists.org
Subject: Re: [twsocket] FTP Client - Large files

> How do I log what is being sent? I have everything ticked in the ICS 
> logger.

The ICS logger is really designed for low level packet logging, although I
wrote it a long time ago, I rarely use it since the low level stuff just
works. 

MagentaFtp3.pas shows how logging is done, from the events:
onFtpClientDisplay, onFtpError, OnFtpCommand, OnFtpResponse, nFtpSessConn,
OnFtpSessClosed, OnFtpRequestDone and OnFtpStateChange, although my code is
commented out in the last two.  

I did however ask you to log OnFtpStateChange last week, since that is what
causes my transfers to work.  

> When I use ConnectFeatAsync I get only these 3 things specified in the 
> log:
> 
> MDTM
> REST: STREAM
> SIZE

It's a relatively primitive FTP server, not from Microsoft, no support for
UTF8, most server written in the last 10 years support more optional FTP
features. 

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

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