[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Fw: length problem with http_url_post




----- Forwarded by Dan Clausing/HQ/McNichols on 08/22/2008 02:23 PM -----
                                                                           
             Dan                                                           
             Clausing/HQ/McNic                                             
             hols                                                       To 
                                       Scott Klement <sk@xxxxxxxxxxxxxxxx> 
             08/22/2008 01:59                                           cc 
             PM                        RJ Salicco/HQ/McNichols@MCNICHOLS,  
                                       Terence                             
                                       Faries/HQ/McNichols@McNichols       
                                                                   Subject 
                                       Re: length problem  with  LIBHTTP   
                                       (Document link: Dan Clausing)       
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           



Scott
Thanks for your fast reply.  Maybe you can help with the  problem I was
working on this
 program that was working fine. I first ran the http_url_post  with a very
high length #  for the outgoing soap file
and  got a pointer# error.  Then I switched it down to less than a million
and got the
HTTP/1.1 500  error. Now I set it down again to the actual size that had
worked fine before: 120k
 and am still getting HTTP/1.1 500 error .  I've tried signing  off and
back again  and it still
 reoccurs.  Could something have been set wrong on the first error  inside
the
the api and still be busted? Would there be anyway to fix?

Beside your webpage is there reference that might list your error types and
what they mean.

Dan




dshortc          C                   const('http://TIBCOD1:50000'
c****            z-add     9999999       length  blew on pointer error
inside api
c***              z-add     999999        length blew on HTTP/1.1 500
c** actual size of data array  is 120000 char
c                   z-add     120000        length
c                   movel     shortc        peurl32k
c***debug
c                   eval      rc = http_url_post(
c                             PEURL32K
c                             %addr(data)
c                             length
c                             pathf              )

c                   if        rc <> 1
c                   eval      msg = http_error
c                   dsply                   msg






                                                                           
             Scott Klement                                                 
             <sk@scottklement.                                             
             com>                                                       To 
                                       Dan.Clausing@xxxxxxxxxxxxx          
             08/22/2008 12:18                                           cc 
             PM                                                            
                                                                   Subject 
                                       Re: EXAMPLE2 from HTTPAPI.          
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           




As far as I know, the limit is 16 mb -- but I haven't tested anything
that large.

If you use http_url_post_stmf() the limit should be about 2 gb.


Dan.Clausing@xxxxxxxxxxxxx wrote:
> Thanks scott: sorry for spamming you. I was testing a variant of one of
> your programs and left some of the code in.
> While i have you on line could you tell me anything about the size limit
on
> the soap file being sent out on the http_url_post command . Is there a
> limit of the sizeo on its 2nd parm?
>
>
> Thanks
> dan
>
>
>
>

>              Scott Klement

>              <sk@scottklement.

>              com>
To
>                                        DAN.CLAUSING@xxxxxxxxxxxxx

>              08/21/2008 02:14
cc
>              PM

>
Subject
>                                        Re: EXAMPLE2 from HTTPAPI.

>

>

>

>

>

>

>
>
>
>
> Hi Dan,
>
> It appears to be working.  I've received your test 9 times.
>
> Good luck!
>
>
> DAN.CLAUSING@xxxxxxxxxxxxx wrote:
>> Hi Scott!
>>   Just a note to tell you that I'm testing out the EXAMPLE2 program in
> HTTPAPI.  If you receive this, it must work!
>
>



-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------