Board index » delphi » Problem with sending a stream to cgi with post and INDY http

Problem with sending a stream to cgi with post and INDY http

Hi,
I am trying to send a stream to my cgi using Indy's http post method.
It work great if the file is less that 65k  greater than that and  it dies
with a Socket error #5
This is on Indy 8.1 and 8.0

Does anyone have this working or know of a work around to get it working?

Thanks,

Tony Caduto

 

Re:Problem with sending a stream to cgi with post and INDY http


This problem is not with HTTP compoenet becouse I have workin application
with 8.1 that post's files much bigger then 65K. The problem is that you are
behind firewall/transparent proxy ( I have such here) which discards all
requests bigger then 65
Kb. If you can avoid this your code will work and update your 8.1 it is 9.0
now <G>

Doychin - Team Indy

Quote
"snorkel" <tcad...@execpc.com> wrote in message news:3b557c7b$1_1@dnews...
> Hi,
> I am trying to send a stream to my cgi using Indy's http post method.
> It work great if the file is less that 65k  greater than that and  it dies
> with a Socket error #5
> This is on Indy 8.1 and 8.0

> Does anyone have this working or know of a work around to get it working?

> Thanks,

> Tony Caduto

Re:Problem with sending a stream to cgi with post and INDY http


Doychin,
I have it working with 8.l now,  it was a problem with my CGI readclient
code, fixed that and it worked fine even from behind my NAT router.
Did not work with 8.x though.

Thanks,

Tony

Quote
"Doychin Bondzhev" <doyc...@dsoft-bg.com> wrote in message

news:3b5595d1_2@dnews...
Quote
> This problem is not with HTTP compoenet becouse I have workin application
> with 8.1 that post's files much bigger then 65K. The problem is that you
are
> behind firewall/transparent proxy ( I have such here) which discards all
> requests bigger then 65
> Kb. If you can avoid this your code will work and update your 8.1 it is
9.0
> now <G>

> Doychin - Team Indy

> "snorkel" <tcad...@execpc.com> wrote in message news:3b557c7b$1_1@dnews...
> > Hi,
> > I am trying to send a stream to my cgi using Indy's http post method.
> > It work great if the file is less that 65k  greater than that and  it
dies
> > with a Socket error #5
> > This is on Indy 8.1 and 8.0

> > Does anyone have this working or know of a work around to get it
working?

> > Thanks,

> > Tony Caduto

Other Threads