[twsocket] FTPCLI - how to query/change FTP send buffer size?

2005-12-07 Thread Udvari András László
Hi! If I use the ICS FTPCLI component, how can I query/set the size of the FTP send buffer? I mean the SO_SNDBUF parameter, required by our test method, to simulate certain test cases in wireless environment. Thanks: Andras -- To unsubscribe or change your settings for TWSocket mailing list

Re: [twsocket] FTPCLI - how to query/change FTP send buffer size?

2005-12-07 Thread Udvari András László
Thanks for your reply. And how can I query the current settings? At the first stage our test I need only the current value. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Francois Piette Sent: Wednesday, December 07, 2005 4:06 PM To: ICS support

Re: [twsocket] Sending a file with HTTPSERVER as response

2005-12-07 Thread Fastream Technologies
Here is what I do. After I receive the file with OnPostedData, I manually call SendDocument within the same event. You need to check for socket errors and content-length (FRequestContentLength). If you need more examples, let me know if you can read C++. Best Regards, SZ - Original

Re: [twsocket] Sending a file with HTTPSERVER as response

2005-12-07 Thread jurik
I have tried the following: ClientCnx.FDocument:='c:\1.zip'; ClientCnx.SendDocument(HttpSendDoc); When I send the request from the browser, the file is displayed in the browser in asci format and the browser does not come up with a save dialog. I dont have a C++ compiler (dont know much

Re: [twsocket] FTPCLI - how to query/change FTP send buffer size?

2005-12-07 Thread Francois Piette
Not easy. You must change the component and call WSocket_setsockopt with the correct parameters at the right place ! The right place is in TCustomWSocket.Connect and TCustomWSocket.Dup -- [EMAIL PROTECTED] Author of ICS (Internet Component Suite, freeware) Author of MidWare (Multi-tier

Re: [twsocket] Sending a file with HTTPSERVER as response

2005-12-07 Thread Fastream Technologies
OOPS! You need to write: Content-Length: + DocumentToContentType(FDocument) + \r\n SZ - Original Message - From: Fastream Technologies [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Wednesday, December 07, 2005 5:39 PM Subject: Re: [twsocket] Sending a file with

Re: [twsocket] WTS

2005-12-07 Thread Francois PIETTE
Hi, how WTS works? It uses sockets too? Have a look at Technology Overview here : http://support.esri.com/index.cfm?fa=knowledgebase.whitepapers.viewPaperPID=14MetaID=389 -- Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html -- [EMAIL PROTECTED] http://www.overbyte.be

[twsocket] File download

2005-12-07 Thread Me
Hmm... How do i download a file and save it on disk? Got the RcvdStream and... what? How do i save it to file? I thought that stream.savetofile would work but there is no such a thing... Ann -- To unsubscribe or change your settings for TWSocket mailing list please goto

Re: [twsocket] WTS

2005-12-07 Thread DZ-Jay
Larini wrote: Hi, how WTS works? It uses sockets too? What is WTS? dZ. -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be

[twsocket] Discard any bytes in the read buffer

2005-12-07 Thread Ionut Muntean
Hi, Is there any possibility to discard any bytes that are in the read buffer? 10x / Ionut Muntean -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be

Re: [twsocket] File download

2005-12-07 Thread Ionut Muntean
Try to create a TFileStream and assign it to RcvdStream ... On Wed, Dec 07, 2005 at 09:39:54PM +0100, Me wrote: Hmm... How do i download a file and save it on disk? Got the RcvdStream and... what? How do i save it to file? I thought that stream.savetofile would work but there is no such a