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
.
Paul
- Original Message -
From: Opqrst Ghrst [EMAIL PROTECTED]
To: ICS support mailing twsocket@elists.org
Sent: Thursday, January 19, 2006 10:37 AM
Subject: [twsocket] HTTP POST - SendStream With
TMemoryStream
Hello all,
when I use Http Post Web to send file
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.
---
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
connection then packetsize is 512
bytes. This is low level
and nothing to do with ICS or any other components.
---
Rgds, Wilfried [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
http://www.mestdagh.biz
Wednesday, January 11, 2006, 21:56, Opqrst Ghrst
wrote:
Hi
I want
messages
:-(
--
[EMAIL PROTECTED]
http://www.overbyte.be
- Original Message -
From: Opqrst Ghrst [EMAIL PROTECTED]
To: ICS support mailing twsocket@elists.org
Sent: Tuesday, January 10, 2006 8:42 AM
Subject: 回覆: Re: [twsocket] ThttpCil Send bufsize
problem
Thanks
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=32768
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 -