2
0

url.d 807 B

1234567891011121314151617181920
  1. Long: url
  2. Arg: <url>
  3. Help: URL to work with
  4. Category: curl
  5. Example: --url $URL
  6. ---
  7. Specify a URL to fetch. This option is mostly handy when you want to specify
  8. URL(s) in a config file.
  9. If the given URL is missing a scheme name (such as "http://" or "ftp://" etc)
  10. then curl will make a guess based on the host. If the outermost sub-domain
  11. name matches DICT, FTP, IMAP, LDAP, POP3 or SMTP then that protocol will be
  12. used, otherwise HTTP will be used. Since 7.45.0 guessing can be disabled by
  13. setting a default protocol, see --proto-default for details.
  14. This option may be used any number of times. To control where this URL is
  15. written, use the --output or the --remote-name options.
  16. **WARNING**: On Windows, particular file:// accesses can be converted to
  17. network accesses by the operating system. Beware!