Re: [twsocket] Help with stalling ftp client

2012-02-01 Thread Info2004
Arno, Thanks. I will check that out. If it persists, I will do as advised and upload the file and post a link. Regards, Andy On 01/02/2012 17:00, Arno Garrels wrote: Info2004 wrote: Hi, Some additional information after hooking up wireshark. I have attached a csv of the capture. The list

Re: [twsocket] Help with stalling ftp client

2012-02-01 Thread Arno Garrels
Info2004 wrote: >> Hi, >> >> Some additional information after hooking up wireshark. >> >> I have attached a csv of the capture. The list server stripped the attachment, please upload the file to some webserver and post the URL here. >> >> What it shows me is that I get the 150 from the server

Re: [twsocket] Reading e-mail

2012-02-01 Thread Alfonso Del Vecchio
I run the form OnCreate event SyncPOP3Cli.Host: = host; SyncPOP3Cli.Port: = port; SyncPOP3Cli.UserName: = username; SyncPOP3Cli.Password: = password; try methodname: = 'OpenSync'; SyncPOP3Cli.OpenSync; methodname: = 'StatSync'; SyncPOP3Cli.MsgNum: = 0; SyncPOP3Cli.Sta

Re: [twsocket] Help with stalling ftp client - attachment contents

2012-02-01 Thread Info2004
Attachment did not work so here it is: (ahh, can't stop thunderbird wrapping - sorry) No. TimeSource Destination Protocol Length Info 190 10.344855 192.168.1.3165.212.180.79 FTP 72 Request: PASV 191 10.524256 65.212.180.79 1

Re: [twsocket] Help with stalling ftp client

2012-02-01 Thread Info2004
Hi, Some additional information after hooking up wireshark. I have attached a csv of the capture. What it shows me is that I get the 150 from the server, I then send an ACK, but I don't send the FTP-DATA. Then of course, I don't see the request done event, because I have not sent the data.

Re: [twsocket] Reading e-mail

2012-02-01 Thread Arno Garrels
Alfonso Del Vecchio wrote: >> except >>on E: Exception do >> WebApplication.ShowMessage('Errore metodo: ' + methodname); Since this is a WebApplication, are you sure the thread your POP3 client is created in has a working message pump? I never worked with TWebApplication but I doubt it

[twsocket] Antwort: Re: OnDataAvailable

2012-02-01 Thread MFischer
I'm not using LineMode. But my problem is solved. I trapped myself by wrapping FSocket.Receive() into a if-block. Thanks anyway. > > > If the ClientSocket is closed, the callback for OnDataAvailable is > > triggered and the missing Bytes are "received". > > This is the common sympton of missing li

Re: [twsocket] Reading e-mail

2012-02-01 Thread Angus Robertson - Magenta Systems Ltd
> SyncPOP3Cli.MsgNum := MsgNum; > SyncPOP3Cli.StatSync; How do you set the value of MsgNum? Why do you want to send it before asking for the total number of messages on the POP3 server? > SyncPOP3Cli.MsgNum := MsgNum; > SyncPOP3Cli.ListSync; Why do you ignore the result of the

Re: [twsocket] Reading e-mail

2012-02-01 Thread Alfonso Del Vecchio
Questa รจ la procedura che utilizzo per acquisire i messaggi: SyncPOP3Cli.Host := host; SyncPOP3Cli.Port := port; SyncPOP3Cli.UserName := username; SyncPOP3Cli.Password := password; try methodname := 'OpenSync'; SyncPOP3Cli.OpenSync; methodname := 'StatSync'; SyncPOP3Cli.MsgNum :=