[twsocket] THttpServer How to receive posted files

2006-07-04 Thread Rafael A. Morales Castro
Hello all I have a problem with THttpServer, I want to receive files via POST but I don't know to do this, please if any body can showme an example. thanks in advance. -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket

Re: [twsocket] How can we automatically set timeout in FTP

2006-07-04 Thread Wilfried Mestdagh
Hello Arnold, > need to do these transfers step by step and stop it in case of problem. I > can’t download or upload several files in same times; that’s why I’m using > synchronous methods and not asynchronous. I understeand, but that is not a reason to go sync or async. For example if you need t

Re: [twsocket] FTPClient and strange behaviour

2006-07-04 Thread Arno Garrels
Markus Humm wrote: >> If authentication is required to issue a command the server should >> send an error code, typically 530. > > Okay, will pay attention to it. Is there any short overview of the > FTP-protocols available? Afaik the RFCs are a bit longish I fear. RFCs are the standards, there'

[twsocket] FTPClient and strange behaviour

2006-07-04 Thread Markus Humm
Hello, > Markus Humm wrote: >> I've tried the FTPTst Application right now and found out that a PASS >> is required after a open, it will delete the file then. But why >> didn't the server tell me in my program and always claimed to have >> carried out my delete request? > > If authentication is

Re: [twsocket] THttpCli v6 - Relocation Problem

2006-07-04 Thread Arno Garrels
Frans van Daalen wrote: > Arno, > > I tested this url and your change (only GetHeaderLineNext) and yes > with connection "keep-alive" of no setting on connection all is fine. > However with connection set to "close" the relocation fails on the > third one. If I try to find where it hangs it shows

Re: [twsocket] THttpCli v6 - Relocation Problem

2006-07-04 Thread Frans van Daalen
Arno, I tested this url and your change (only GetHeaderLineNext) and yes with connection "keep-alive" of no setting on connection all is fine. However with connection set to "close" the relocation fails on the third one. If I try to find where it hangs it shows DoRequestSync Application.Pr

Re: [twsocket] How can we automatically set timeout in FTP

2006-07-04 Thread Arnold FLUTEAUX
Hello, In fact, I must send files and then receive files. But I must send and receive theses files in respecting their creating/modificating date. And for example, if a file is not received correctly, I must stop the connection. I need to do these transfers step by step and stop it in case of p

Re: [twsocket] How can we automatically set timeout in FTP

2006-07-04 Thread Wilfried Mestdagh
Hello Arnold, > But in my test, I'm used Put method, not putAsync method. Please try the async methods, it is more encouraged :) --- Rgds, Wilfried [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html http://www.mestdagh.biz -- To unsubscribe or change your settings for TWSocket mailing

Re: [twsocket] How can we automatically set timeout in FTP

2006-07-04 Thread Arno Garrels
Arnold FLUTEAUX wrote: > Thanks. > When I've modified the ftpclient.timeout from 15 to 60, theses > disconnections had disappeared. 15 is far too short, why don't you make it an user option? > So I thought that this property was > important because it's used in "WaitUntilReady" function. Yes i

Re: [twsocket] How can we automatically set timeout in FTP

2006-07-04 Thread Arnold FLUTEAUX
>Property TFtpCli.Timeout effects only in case you would use the sync methods, and it triggers independent of the winsock timeout, however the shorter timeout would trigger first. But in my test, I'm used Put method, not putAsync method. Arnold Message: 2 Date: Tue, 4 Jul 2006 10:42:09 +0200 Fr

Re: [twsocket] How can we automatically set timeout in FTP

2006-07-04 Thread Arnold FLUTEAUX
Thanks. When I've modified the ftpclient.timeout from 15 to 60, theses disconnections had disappeared. So I thought that this property was important because it's used in "WaitUntilReady" function. And according to me, I wanted to set automatically this property with the speed of connections. 15 se

Re: [twsocket] UDP Concept doubt

2006-07-04 Thread Éric Fleming Bonilha
Thanks Dan!!! Now I got it Thanks!!! - Original Message - From: "Dan" <[EMAIL PROTECTED]> To: "'ICS support mailing'" Sent: Monday, July 03, 2006 7:11 PM Subject: Re: [twsocket] UDP Concept doubt UDP packets can be fragmented at the IP level, but once you do a receive you will receiv

Re: [twsocket] How can we automatically set timeout in FTP

2006-07-04 Thread Arno Garrels
Arnold FLUTEAUX wrote: > I've question on the timeout. > > With a high speed connection, the timeout is equal to 15 seconds. But > with a very low connection (9,6 kbits/s) , they are several problems > and the ftp disconnect itself with the message "500 Connection closed > time out (winsock error

[twsocket] How can we automatically set timeout in FTP

2006-07-04 Thread Arnold FLUTEAUX
Hello, I'm french. I'm using a FTP developing with ICS FTP client. It's really good ! I've question on the timeout. With a high speed connection, the timeout is equal to 15 seconds. But with a very low connection (9,6 kbits/s) , they are several problems and the ftp disconnect itself with the