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

Re: First Time user of HTTPAPI - No luck with Example1 (Solution)


   Thanks for your help.

   The problem was that the iSeries server did not recognize DNS names.
   First I hard coded the physical IP address in the URL text string (no
   a good idea, for production; but I am just testing things out). Better
   yet, I have added the URL server names to the TCP IP Host table, but
   would like to use our DNS server on the network instead, so that I do
   not have to define any server on the TCP IP Host table.  Question,
   what is the best way to tell the AS400 to use a DNS server on the
   network ?

   Luis Grullon

   Re: First Time user of HTTPAPI - No luck with Example1

     * To: HTTPAPI and FTPAPI Projects <[1]ftpapi@xxxxxxxxxxxxxxxxxxxxxx>
     * Subject: Re: First Time user of HTTPAPI - No luck with Example1
     * From: Scott Klement <[2]sk@xxxxxxxxxxxxxxxx>
     * Date: Mon, 30 Oct 2006 16:02:20 -0600 (CST)
     * In-reply-to:
     * List-help:
     * List-id: HTTPAPI and FTPAPI Projects
     * List-post: <[5]mailto:ftpapi@xxxxxxxxxxxxxxxxxxxxxx>
     * List-subscribe:
     * List-unsubscribe:
     * References:
     * Reply-to: HTTPAPI and FTPAPI Projects
     * Sender: [12]ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx

   Please add the following to the start of the program (the line before
   http_url_get() call):

         c                   callp     http_debug(*ON)

   This tells HTTPAPI to write a debug file to the following location (by

   The debug file should contain info about why things have failed.
   Furthermore, there's a variable named "msg" in EXAMPLE1 that might
   a clue, have you looked at the contents of this variable?  (It's not
   displayed anywhere, since when I wrote it I expected the programmer to
   their own display logic.)

   Scott Klement  [13]http://www.scottklement.com

   On Mon, 30 Oct 2006, Grullon, Luis wrote:

   > Hi Scott/all:
   > Thanks for putting together this tool. I downloaded the HTTPAPI
   library last
   > Friday (10/26/06),  and am having problem with the example1 program.
   I just
   > get a zero byte PDF in my IFS. I do have access to your web site,
   and there
   > is no firewall issues. Additionally, I do not see/find the debug.txt
   file as
   > per the config file.  Please help.... We plan to use this API as
   soon I as
   > can get things going.... I will be consuming internal .Net web
   This is the FTPAPI mailing list.  To unsubscribe, please go to:

     * References:

     * [15]First Time user of HTTPAPI - No luck with Example1

     * From: Grullon, Luis

     Prev by Date: [16]First Time user of HTTPAPI - No luck with Example1

     Previous by thread: [17]First Time user of HTTPAPI - No luck with


     * [18]Date
     * Thread

   Luis Grullon
   IDB Bank of New York  - IT
   511 Fifth Avenue,   New York,   NY,  10017. Tel. 212-551-8997
   This communication (including any attachments) may contain privileged
   or confidential information intended for a specific individual and
   purpose and is protected by law. If you are not the intended
   recipient, you should delete this communication and/or shred the
   materials and any attachments. You are hereby notified that any
   disclosure, copying, or distribution of this communication, or the
   taking of any action based on it is strictly prohibited. Thank you for
   your cooperation.


   1. mailto:ftpapi@xxxxxxxxxxxxx
   2. mailto:sk@xxxxxxxxxxxxx
   3. mailto:9AB26AA3B27EDA4F8C756C3ED7CB757D06B55EC6@xxxxxxxxxxxxx
   4. mailto:ftpapi-request@xxxxxxxxxxxxxxxxxxxxxx?subject=help
   5. mailto:ftpapi@xxxxxxxxxxxxxxxxxxxxxx
   6. http://www.scottklement.com/mailman/listinfo/ftpapi
   7. mailto:ftpapi-request@xxxxxxxxxxxxxxxxxxxxxx?subject=subscribe
   8. http://www.scottklement.com/mailman/listinfo/ftpapi
   9. mailto:ftpapi-request@xxxxxxxxxxxxxxxxxxxxxx?subject=unsubscribe
  10. mailto:9AB26AA3B27EDA4F8C756C3ED7CB757D06B55EC6@xxxxxxxxxxxxx
  11. mailto:ftpapi@xxxxxxxxxxxxx
  12. mailto:ftpapi-bounces@xxxxxxxxxxxxx
  13. http://www.scottklement.com/
  14. http://www.scottklement.com/mailman/listinfo/ftpapi
  15. file://localhost/tmp/msg00054.html
  16. file://localhost/tmp/msg00054.html
  17. file://localhost/tmp/msg00054.html
  18. file://localhost/tmp/maillist.html
This is the FTPAPI mailing list.  To unsubscribe, please go to: