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

The response of http_url_post not always received



   Hello Scott,


   We are communicating for many years successful with UPS using
   the http_url_post command



   it looks like


    eval      rc=http_url_post(url:
                   p_data: st_size:
                   '/www/httptest.html':
                   300:'Mozilla/5.0'
                  :'multipart/mixed;boundary=BOUNDARY')
    if        rc <> 1
    eval      msg = http_error



   The response at the IFS /www/httptest.html is not always
   filled. May be it's a time out.


   The content of this logging looks like



   --BOUNDARY
   Content-type: text/html
   Content-length: 138

   <HTML>
   <HEAD>
   <TITLE>UPS Internet Software</TITLE>
   </HEAD>
   <BODY>
   <P>UPS Internet Software, Copyright UPS 1998</P>
   </BODY>
   </HTML>

   --BOUNDARY

   --BOUNDARY
   Content-type: application/x-ups-psmpld
   Content-length: 104

   UPSOnLine%1.0%0000%0000Successful completion - No errors found.

   --BOUNDARY
   Content-type: application/x-ups-pld
   Content-length: 759

   000200000746300000640 KDGPLCR1                   United Parcel Service

   --BOUNDARY--


   and tell us whether the summited data was right or wrong.



   Can you suggest how we can avoid empty loggings.


   Thanks.


   Herman Kox

   Disclaimer
   Dit bericht met eventuele bijlagen is vertrouwelijk en uitsluitend
   bestemd voor de geadresseerde. Indien u niet de bedoelde ontvanger
   bent, wordt u verzocht de afzender te waarschuwen en dit bericht met
   eventuele bijlagen direct te verwijderen en/of te vernietigen. Het is
   niet toegestaan dit bericht en eventuele bijlagen te vermenigvuldigen,
   door te sturen, openbaar te maken, op te slaan of op andere wijze te
   gebruiken. Ordina N.V. en/of haar groepsmaatschappijen accepteren geen
   verantwoordelijkheid of aansprakelijkheid voor schade die voortvloeit
   uit de inhoud en/of de verzending van dit bericht.
   This e-mail and any attachments are confidential and are solely
   intended for the addressee. If you are not the intended recipient,
   please notify the sender and delete and/or destroy this message and
   any attachments immediately. It is prohibited to copy, to distribute,
   to disclose or to use this e-mail and any attachments in any other
   way. Ordina N.V. and/or its group companies do not accept any
   responsibility nor liability for any damage resulting from the content
   of and/or the transmission of this message.
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------