File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / curl / docs / cmdline-opts / url.d
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Wed Jun 3 10:01:15 2020 UTC (4 years, 7 months ago) by misho
Branches: curl, MAIN
CVS tags: v7_70_0p4, HEAD
curl

Long: url
Arg: <url>
Help: URL to work with
---
Specify a URL to fetch. This option is mostly handy when you want to specify
URL(s) in a config file.

If the given URL is missing a scheme name (such as "http://" or "ftp://" etc)
then curl will make a guess based on the host. If the outermost sub-domain
name matches DICT, FTP, IMAP, LDAP, POP3 or SMTP then that protocol will be
used, otherwise HTTP will be used. Since 7.45.0 guessing can be disabled by
setting a default protocol, see --proto-default for details.

This option may be used any number of times. To control where this URL is
written, use the --output or the --remote-name options.

Warning: On Windows, particular file:// accesses can be converted to network
accesses by the operating system. Beware!

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>