1 c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al. 2 SPDX-License-Identifier: curl 3 Long: url 4 Arg: <url> 5 Help: URL to work with 6 Category: curl 7 Example: --url $URL 8 Added: 7.5 9 See-also: next config 10 Multi: append 11 --- 12 Specify a URL to fetch. This option is mostly handy when you want to specify 13 URL(s) in a config file. 14 15 If the given URL is missing a scheme name (such as "http://" or "ftp://" etc) 16 then curl makes a guess based on the host. If the outermost subdomain name 17 matches DICT, FTP, IMAP, LDAP, POP3 or SMTP then that protocol is used, 18 otherwise HTTP is used. Guessing can be avoided by providing a full URL 19 including the scheme, or disabled by setting a default protocol (added in 20 7.45.0), see --proto-default for details. 21 22 To control where this URL is written, use the --output or the --remote-name 23 options. 24 25 **WARNING**: On Windows, particular file:// accesses can be converted to 26 network accesses by the operating system. Beware! 27