回覆: Re: [twsocket] HTTP POST - SendStream With TMemoryStream

2006-01-19 Thread Opqrst Ghrst
thanks F.P. I See, but if the file is more than 1 GB, That will cost my too mush disk free space,I am confuse on this problem, because I must add Form Field Value information on the Head of the data and boundary end of data.it will be work by ContentTypePost="multipart/form-data" mothod post. --

回覆: Re: 回覆: Re: [twsocket] HTTP POST - SendStream With TMemoryStream

2006-01-19 Thread Opqrst Ghrst
ROTECTED]> 說: > You don't need any buffers to create yourself. > > just use > HttpCli.SendStrem:= TFileStream.Create('your > file', fmOpenRead) > HttpCli.SendStream.Position:= 0; > HttCli.PostAsync; > > Paul > > > - Original Me

回覆: Re: [twsocket] HTTP POST - SendStream With TMemoryStream

2006-01-19 Thread Opqrst Ghrst
ning); --- Paul <[EMAIL PROTECTED]> 說: > You should use a TFileStream instead of a > TMemorystream. > > Paul > > > > - Original Message - > From: "Opqrst Ghrst" <[EMAIL PROTECTED]> > To: "ICS support mailing" > Sent:

[twsocket] HTTP POST - SendStream With TMemoryStream

2006-01-19 Thread Opqrst Ghrst
Hello all, when I use Http Post Web to send file, if the file is bigger as 100mb. because content must has some FormField to post, I use MemorrStream write these information and FileStream. when I load to TMemoryStream it will cause my computer slow to build MemoryStream, can I use other mothods

回覆: Re: [twsocket] Buffer size

2006-01-17 Thread Opqrst Ghrst
hello, thanks to reply. but by my test, if my cpu not slow when I use buffer 32kb to send 50MB file only cost 13Mins, with 8kb it must cost almost 20Mins. It not always can up to max speed, but maybe better for slow cpu works. --- Francois Piette <[EMAIL PROTECTED]> 說: > Actully, the buffer

Re: 回覆: Re: 回覆: Re: [twsocket] ThttpCil Send bufsize problem

2006-01-12 Thread Opqrst Ghrst
> time I cannot complier. It seems these two > object > >> > cannot use the same time. > >> > >> Strange. But easy solution: use only THttpCli ! > >> I can't help you more if you don't tell the error > >> message you get. The > >> compiler alway

回覆: Re: 回覆: Re: [twsocket] Thttp Cil Send bufsize problem

2006-01-11 Thread Opqrst Ghrst
> message you get. The > compiler always give error messages which give an > incredible help to solve > problems. Seems you are neglecting those messages > :-( > > -- > [EMAIL PROTECTED] > http://www.overbyte.be > > > - Original Message - > Fr

回覆: Re: [twsocket] ThttpCil Send bufsize problem

2006-01-09 Thread Opqrst Ghrst
Thanks for your reply. I try use TIdhttp it can send with packet 32768 size. But when I use this Object and HttpCli at the same time I cannot complier. It seems these two object cannot use the same time. --- Francois PIETTE <[EMAIL PROTECTED]> 說: > > Q1: > > I set HttpCli1->CtrlSocket->BufSize=3

[twsocket] ThttpCil Send bufsize problem

2006-01-06 Thread Opqrst Ghrst
Q1: I set HttpCli1->CtrlSocket->BufSize=32768 ,but when I send data it only has Max BufSize 8193. How can I set it more than 8193 and has it Max limit? Q2: Dose HttpCli1->SendStream has Size limit? When I send more than 100MB file, It seems not works. ___ YM -