
If the directory is not specified then the web server's root directory is used. The path part of a HTTP request specifies the file to retrieve and from what directory. The path part of the URL is protocol specific and whilst some examples are given below this list is not conclusive: Smtp://:587/ - This will connect to a smtp server on the alternative mail port. This will connect to a web server using port 8080.
#Xojo google maps how to#
The following examples show how to specify the port:
#Xojo google maps password#
It is also possible to specify the user name and password as part of the host, for some protocols, when connecting to servers that require authentication.įor example the following types of authentication support port is optional and when not specified libcurl will use the default port based on the determined or specified protocol: 80 for http, 21 for ftp and 25 for smtp, etc. This can be the fully qualified domain name of the server, the local network name of the machine on your network or the IP address of the server or machine represented by either an IPv4 or IPv6 address. The host part of the URL contains the address of the server that you want to connect to. Use CURL.Protocols for detailed information on which protocols are supported. If the protocol is not supported, libcurl will return (CURLE_UNSUPPORTED_PROTOCOL) when you call CURL.Perform or CURL.PerformInBackground. If the given URL lacks the scheme, or protocol, part (" or "ftp://" etc), libcurl will attempt to resolve which protocol to use based on the given host name. The parameter should be a text string which must be URL-encoded in the following format:įor a greater explanation of the format please see RFC 3986 (). If you want to include password and username, please use CURL.SetOptionUserName and CURL.SetOptionPassword instead of including them in the URL. Possible encoding names: ANSI, ISO-8859-1, Latin1, Mac, Native, UTF-8, DOS, Hex, Base64 or Windows. $Encoding) /* Optional The text encoding for text parameter. MBS( "CURL.SetOptionURL" /* Sets the actual URL to deal with.
