Re: [twsocket] FTP Put using streams

2008-04-21 Thread Ionut Muntean
Harold Holmes wrote: I have a bitmap in a timage and I'd like to send that image to the server without saving the file to the local harddrive first. Is it possible to use a stream to do this? Best regards, Harold Yes, you can ... [code] ftp.hostname := 'your_host'; ftp.username :=

Re: [twsocket] bug in TCustomWSocket? - 100% cpu; continues calls to OnDataAvailable while no data was received

2008-04-21 Thread Merijn Bosma
I've removed the parsing and processing of data from the OnDataAvailable. The event handler now basically contains ReceiveStr() and PostMessage(). I'm still having the same problem though :( It seems that this problem is not triggered by doing something wrong in the OnDataAvailable event