blob: c54e1ea85cf3cbd9e51a5965e84f6eba7b646b4b [file] [log] [blame]
lh9ed821d2023-04-07 01:36:19 -07001long: url
2Arg: <url>
3Help: URL to work with
4---
5Specify a URL to fetch. This option is mostly handy when you want to specify
6URL(s) in a config file.
7
8If the given URL is missing a scheme name (such as "http://" or "ftp://" etc)
9then curl will make a guess based on the host. If the outermost sub-domain
10name matches DICT, FTP, IMAP, LDAP, POP3 or SMTP then that protocol will be
11used, otherwise HTTP will be used. Since 7.45.0 guessing can be disabled by
12setting a default protocol, see --proto-default for details.
13
14This option may be used any number of times. To control where this URL is
15written, use the --output or the --remote-name options.