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

Re: Protocol LIBHTTP



   Sounds logical.
   So, it looks like I have to copy the file to the IFS and parse it with
   http_parse_xml_stmf.
   I can do it grafting example 1  from ftp api into example 15 from http
   api.
   Is there a better way to do it?
   ______________________________________________________________________
   ___________
   Charles Wilt wrote:

Your browser understands multiple protocols, [1]http://, [2]ftp://, [3]file://
to name a few that are common.

HTTPAPI is not a browser.  It is implements an http client, thus it
only understands the http protocol.

If you want to use the ftp protocol, you need FTPAPI which implements
an ftp client.

HTH,
Charles


On Fri, Sep 10, 2010 at 10:34 AM, Raul A. Jager W. [4]<raul@xxxxxxxxxx> wrote:


when I type:  [5]ftp://server/file.xml in the address bar of the browser I
get the document, I tryed the same address in http_url_get and I got an
empty document. Does this function support the protocols like a browser?
or should I use the "ftp" APIs?

TIA
Raúl


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



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

References

   1. http:///
   2. ftp:///
   3. file://localhost/
   4. mailto:raul@xxxxxxxxxx
   5. ftp://server/file.xml
   6. http://www.scottklement.com/mailman/listinfo/ftpapi
   7. http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------