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/06/17 11:06] – 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:// | ||
| ~~~ | ~~~ | ||
| Ligne 334: | Ligne 360: | ||
| TODO : equivalement pour Redhat avec `update-ca-trust` | TODO : equivalement pour Redhat avec `update-ca-trust` | ||
| - | `.curlrc` | + | `~/.curlrc` |
| ~~~bash | ~~~bash | ||
| cacert=/ | cacert=/ | ||
| + | ~~~ | ||
| + | |||
| + | `~/.wgetrc` | ||
| + | ~~~bash | ||
| + | # Set the certificate authority bundle file to file. The same as ‘--ca-certificate=file’. | ||
| + | ca_certificate = / | ||
| + | |||
| + | # Set the directory used for certificate authorities. The same as ‘--ca-directory=directory’. | ||
| + | # | ||
| ~~~ | ~~~ | ||
| Ligne 344: | Ligne 379: | ||
| insecure | insecure | ||
| ~~~ | ~~~ | ||
| + | |||
| + | |||
| + | |||
| https sous java | https sous java | ||
tech/notes_curl_wget.1781687167.txt.gz · Dernière modification : de Jean-Baptiste
