Re: [twsocket] Problem with TFtpClient - Access Violation error

2016-09-14 Thread Ertan Küçükoğlu
mailing' <twsocket@lists.elists.org> Subject: Re: [twsocket] Problem with TFtpClient - Access Violation error > Yes, but when you read or write a stream, the next read/write position > is where you last left it, and you probably read > beyond the stream end, and then got an AV trying to wr

Re: [twsocket] Problem with TFtpClient - Access Violation error

2016-09-14 Thread Ertan Küçükoğlu
> Yes, but when you read or write a stream, the next read/write position is where you last left it, and you probably read > beyond the stream end, and then got an AV trying to write there. > > Clear the stream before every request. Something is odd on my side and I cannot find it. This is a

Re: [twsocket] Problem with TFtpClient - Access Violation error

2016-09-14 Thread Angus Robertson - Magenta Systems Ltd
> It is created for sure. I create the stream once when application > started and it is Freed at application close. It maybe that I am > not clearing and resetting. Yes, but when you read or write a stream, the next read/write position is where you last left it, and you probably read beyond the

Re: [twsocket] Problem with TFtpClient - Access Violation error

2016-09-14 Thread Ertan Küçükoğlu
-Original Message- From: TWSocket [mailto:twsocket-boun...@lists.elists.org] On Behalf Of Angus Robertson - Magenta Systems Ltd Sent: Wednesday, September 14, 2016 10:33 AM To: twsocket@lists.elists.org Subject: Re: [twsocket] Problem with TFtpClient - Access Violation error > >