tech:notes_curl_wget
Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
| tech:notes_curl_wget [2026/09/10 14:48] – Jean-Baptiste | tech:notes_curl_wget [2026/09/10 14:52] (Version actuelle) – Jean-Baptiste | ||
|---|---|---|---|
| Ligne 186: | Ligne 186: | ||
| ~~~ | ~~~ | ||
| - | Upload | + | |
| + | |||
| + | ### Upload | ||
| ~~~bash | ~~~bash | ||
| curl -v -u admin: | curl -v -u admin: | ||
| Ligne 237: | Ligne 240: | ||
| wget -O plop https:// | wget -O plop https:// | ||
| # Saving to: ‘plop' | # Saving to: ‘plop' | ||
| + | ~~~ | ||
| + | |||
| + | |||
| + | ### Fichier config .wgetrc | ||
| + | |||
| + | `~/.wgetrc` | ||
| + | ~~~bash | ||
| + | # https:// | ||
| + | |||
| + | # Set the certificate authority bundle file to file. The same as ‘--ca-certificate=file’. | ||
| + | ca_certificate = file | ||
| + | |||
| + | # Set the directory used for certificate authorities. The same as ‘--ca-directory=directory’. | ||
| + | ca_directory = directory | ||
| + | |||
| + | |||
| + | header = Accept: */* | ||
| + | header = Accept-Language: | ||
| + | header = Keep-Alive: 300 | ||
| + | user_agent = Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_4) AppleWebKit/ | ||
| + | |||
| + | # bind_address = 202.x.x.x | ||
| + | # referer = http:// | ||
| ~~~ | ~~~ | ||
tech/notes_curl_wget.1789044506.txt.gz · Dernière modification : de Jean-Baptiste
