Http content missing

Please discuss general Delphi programming topics here.

Http content missing

Postby jakes » September 19th, 2007, 7:46 am

Hi

I am having a problem with file uploads. I am working on a delphi 6 program that runs on a server and can accept file uploads. The problem is that there is 8kb of the data missing within the content that is extracted from the http messages.

If the file is smaller that the length of the initial content space of the http, there is no problem but this is too small for this application. I have scanned the incoming http packets, the data is there it is just not extracted. I am parsing the raw content of the http content using TCGIRequest object. I dont know if this is a programming error or a server setting. IIS version 5 is used as the server.
jakes
Member
Member
 
Posts: 2
Joined: September 19th, 2007, 7:15 am

Postby Kambiz » September 19th, 2007, 8:54 am

Delphi Help wrote:If the content of a message is particularly large, it is transferred in chunks. In this case, the Content property does not contain the entire message content. To read the rest of the content, use the ReadClient method.
Kambiz
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2429
Joined: March 7th, 2003, 7:10 pm

Http content missing

Postby jakes » September 19th, 2007, 9:10 am

That is what I am doing, but in between the Content and the first bytes that I get with ReadClient, there is data missing
jakes
Member
Member
 
Posts: 2
Joined: September 19th, 2007, 7:15 am


Return to Delphi Programming

Who is online

Users browsing this forum: No registered users and 21 guests

cron