<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="fr">
	<id>https://doc.ycharbi.fr/index.php?action=history&amp;feed=atom&amp;title=Curl</id>
	<title>Curl - Historique des versions</title>
	<link rel="self" type="application/atom+xml" href="https://doc.ycharbi.fr/index.php?action=history&amp;feed=atom&amp;title=Curl"/>
	<link rel="alternate" type="text/html" href="https://doc.ycharbi.fr/index.php?title=Curl&amp;action=history"/>
	<updated>2026-04-05T21:27:43Z</updated>
	<subtitle>Historique des versions pour cette page sur le wiki</subtitle>
	<generator>MediaWiki 1.40.0</generator>
	<entry>
		<id>https://doc.ycharbi.fr/index.php?title=Curl&amp;diff=1217&amp;oldid=prev</id>
		<title>Ycharbi : Déplacement de l'explication du téléversement qui était placée au mauvais endroit + ajout d'une précision pour le téléchargement.</title>
		<link rel="alternate" type="text/html" href="https://doc.ycharbi.fr/index.php?title=Curl&amp;diff=1217&amp;oldid=prev"/>
		<updated>2020-12-25T13:17:32Z</updated>

		<summary type="html">&lt;p&gt;Déplacement de l&amp;#039;explication du téléversement qui était placée au mauvais endroit + ajout d&amp;#039;une précision pour le téléchargement.&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;fr&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Version précédente&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version du 25 décembre 2020 à 15:17&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l8&quot;&gt;Ligne 8 :&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Ligne 8 :&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=Test de débit=&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=Test de débit=&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Pour réaliser un test de débit, il est possible d'utiliser &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;la commande &lt;/del&gt;de la manière suivante.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Pour réaliser un test de débit &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;descendant et montant&lt;/ins&gt;, il est possible d'utiliser &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;l'outil &lt;/ins&gt;de la manière suivante.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Téléchargement==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Téléchargement==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Tout d&lt;/del&gt;'&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;abord, il faut avoir un fichier à téléverser&lt;/del&gt;. &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Soit vous récupérez un fichier avec la méthode pré&amp;amp;cédente, soit vous &lt;/del&gt;le &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;créé via &lt;/del&gt;&amp;lt;source lang=&quot;bash&quot; inline&amp;gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;dd&lt;/del&gt;&amp;lt;/source&amp;gt; de &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;cette manière :&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Nos tests se feront sur des fichiers hébergés par ''testdebit.info'&lt;/ins&gt;'. &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Notez le renvoi dans &lt;/ins&gt;le &amp;lt;source lang=&quot;bash&quot; inline&amp;gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;/dev/null&lt;/ins&gt;&amp;lt;/source&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;afin &lt;/ins&gt;de &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;ne pas risquer d&lt;/ins&gt;'&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;être limité par les capacités du support &lt;/ins&gt;de &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;stockage local&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; dd if=/dev/zero of=/tmp/temp.iso bs=1M count=10000 conv=fsync status=progress&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;'&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;'Note : Ceci va créer un fichier de 10Go dans le /tmp &lt;/del&gt;de &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;votre système. Adapter ces paramètres et en concéquence, les commandes qui suivent selon vos besoins&lt;/del&gt;.&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;''&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;'''IPv4 uniquement :'''&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;'''IPv4 uniquement :'''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l37&quot;&gt;Ligne 37 :&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Ligne 34 :&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Téléversement==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Téléversement==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Tout d'abord, il faut avoir un fichier à téléverser. Soit vous récupérez un fichier avec la méthode pré&amp;amp;cédente, soit vous le créé via &amp;lt;source lang=&quot;bash&quot; inline&gt;dd&amp;lt;/source&gt; de cette manière :&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; dd if=/dev/zero of=/tmp/temp.iso bs=1M count=10000 conv=fsync status=progress&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;''Note : Ceci va créer un fichier de 10Go dans le /tmp de votre système. Adapter ces paramètres et en concéquence, les commandes qui suivent selon vos besoins.''&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;'''IPv4 uniquement :'''&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;'''IPv4 uniquement :'''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* HTTP sur une durée de 60 secondes : &amp;lt;source lang=&amp;quot;bash&amp;quot; inline&amp;gt;curl --max-time 60 -4 -w %{size_upload} -o /dev/null -F &amp;quot;filecontent=@/tmp/temp.iso&amp;quot; http://bouygues.testdebit.info&amp;lt;/source&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* HTTP sur une durée de 60 secondes : &amp;lt;source lang=&amp;quot;bash&amp;quot; inline&amp;gt;curl --max-time 60 -4 -w %{size_upload} -o /dev/null -F &amp;quot;filecontent=@/tmp/temp.iso&amp;quot; http://bouygues.testdebit.info&amp;lt;/source&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Ycharbi</name></author>
	</entry>
	<entry>
		<id>https://doc.ycharbi.fr/index.php?title=Curl&amp;diff=1216&amp;oldid=prev</id>
		<title>Ycharbi : Page créée avec « Category:Outils_de_téléchargements  ''Curl'' est un outil très commun pour effectuer des transferts depuis ou vers un serveur en utilisant les protocoles ''DICT, FI... »</title>
		<link rel="alternate" type="text/html" href="https://doc.ycharbi.fr/index.php?title=Curl&amp;diff=1216&amp;oldid=prev"/>
		<updated>2020-12-25T12:52:22Z</updated>

		<summary type="html">&lt;p&gt;Page créée avec « &lt;a href=&quot;/index.php/Cat%C3%A9gorie:Outils_de_t%C3%A9l%C3%A9chargements&quot; title=&quot;Catégorie:Outils de téléchargements&quot;&gt;Category:Outils_de_téléchargements&lt;/a&gt;  &amp;#039;&amp;#039;Curl&amp;#039;&amp;#039; est un outil très commun pour effectuer des transferts depuis ou vers un serveur en utilisant les protocoles &amp;#039;&amp;#039;DICT, FI... »&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Nouvelle page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Category:Outils_de_téléchargements]]&lt;br /&gt;
&lt;br /&gt;
''Curl'' est un outil très commun pour effectuer des transferts depuis ou vers un serveur en utilisant les protocoles ''DICT, FILE, FTP, FTPS, GOPHER, HTTP, HTTPS, IMAP, IMAPS, LDAP, LDAPS, MQTT, POP3, POP3S, RTMP, RTMPS, RTSP, SCP, SFTP, SMB, SMBS, SMTP, SMTPS, TELNET et TFTP''. Cette commande est prévue pour fonctionner sans interaction avec l'utilisateur et est toute désigné pour être intégrée à des scripts (notamment [[Script bash|Bash]]).&lt;br /&gt;
&lt;br /&gt;
=Installation=&lt;br /&gt;
''Curl'' est présent dans les dépôts de ''Debian'', Il suffit d'utiliser [[:Category:apt|APT]] pour l'installer.&lt;br /&gt;
 apt install --no-install-recommends curl&lt;br /&gt;
&lt;br /&gt;
=Test de débit=&lt;br /&gt;
Pour réaliser un test de débit, il est possible d'utiliser la commande de la manière suivante.&lt;br /&gt;
&lt;br /&gt;
==Téléchargement==&lt;br /&gt;
Tout d'abord, il faut avoir un fichier à téléverser. Soit vous récupérez un fichier avec la méthode pré&amp;amp;cédente, soit vous le créé via &amp;lt;source lang=&amp;quot;bash&amp;quot; inline&amp;gt;dd&amp;lt;/source&amp;gt; de cette manière :&lt;br /&gt;
 dd if=/dev/zero of=/tmp/temp.iso bs=1M count=10000 conv=fsync status=progress&lt;br /&gt;
&lt;br /&gt;
''Note : Ceci va créer un fichier de 10Go dans le /tmp de votre système. Adapter ces paramètres et en concéquence, les commandes qui suivent selon vos besoins.''&lt;br /&gt;
&lt;br /&gt;
'''IPv4 uniquement :'''&lt;br /&gt;
* HTTP sur une durée de 8 secondes : &amp;lt;source lang=&amp;quot;bash&amp;quot; inline&amp;gt;curl --max-time 8 -4 -o /dev/null http://bouygues.testdebit.info/10G.iso&amp;lt;/source&amp;gt;&lt;br /&gt;
* HTTPS sur une durée de 8 secondes : &amp;lt;source lang=&amp;quot;bash&amp;quot; inline&amp;gt;curl --max-time 8 -4 -o /dev/null https://bouygues.testdebit.info/10G.iso&amp;lt;/source&amp;gt;&lt;br /&gt;
* HTTP taille fixe de 100Mo : &amp;lt;source lang=&amp;quot;bash&amp;quot; inline&amp;gt;curl -4 -o /dev/null http://bouygues.testdebit.info/100M.iso&amp;lt;/source&amp;gt;&lt;br /&gt;
* HTTPS taille fixe de 100Mo : &amp;lt;source lang=&amp;quot;bash&amp;quot; inline&amp;gt;curl -4 -o /dev/null https://bouygues.testdebit.info/100M.iso&amp;lt;/source&amp;gt;&lt;br /&gt;
* HTTP taille fixe de 1Go : &amp;lt;source lang=&amp;quot;bash&amp;quot; inline&amp;gt;curl -4 -o /dev/null http://bouygues.testdebit.info/1G.iso&amp;lt;/source&amp;gt;&lt;br /&gt;
* HTTPS taille fixe de 1Go : &amp;lt;source lang=&amp;quot;bash&amp;quot; inline&amp;gt;curl -4 -o /dev/null https://bouygues.testdebit.info/1G.iso&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''IPv6 uniquement :'''&lt;br /&gt;
* HTTP sur une durée de 8 secondes : &amp;lt;source lang=&amp;quot;bash&amp;quot; inline&amp;gt;curl --max-time 8 -6 -o /dev/null http://bouygues.testdebit.info/10G.iso&amp;lt;/source&amp;gt;&lt;br /&gt;
* HTTPS sur une durée de 8 secondes : &amp;lt;source lang=&amp;quot;bash&amp;quot; inline&amp;gt;curl --max-time 8 -6 -o /dev/null https://bouygues.testdebit.info/10G.iso&amp;lt;/source&amp;gt;&lt;br /&gt;
* HTTP taille fixe de 100Mo : &amp;lt;source lang=&amp;quot;bash&amp;quot; inline&amp;gt;curl -6 -o /dev/null http://bouygues.testdebit.info/100M.iso&amp;lt;/source&amp;gt;&lt;br /&gt;
* HTTPS taille fixe de 100Mo : &amp;lt;source lang=&amp;quot;bash&amp;quot; inline&amp;gt;curl -6 -o /dev/null https://bouygues.testdebit.info/100M.iso&amp;lt;/source&amp;gt;&lt;br /&gt;
* HTTP taille fixe de 1Go : &amp;lt;source lang=&amp;quot;bash&amp;quot; inline&amp;gt;curl -6 -o /dev/null http://bouygues.testdebit.info/1G.iso&amp;lt;/source&amp;gt;&lt;br /&gt;
* HTTPS taille fixe de 1Go : &amp;lt;source lang=&amp;quot;bash&amp;quot; inline&amp;gt;curl -6 -o /dev/null https://bouygues.testdebit.info/1G.iso&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{info|Le débit moyen est affiché dans la colonne ''Average Dload''. C'est un débit en Mo/s et non en Mb/s. C'est un débit utile, les encapsulations ne sont pas comptées.}}&lt;br /&gt;
&lt;br /&gt;
==Téléversement==&lt;br /&gt;
'''IPv4 uniquement :'''&lt;br /&gt;
* HTTP sur une durée de 60 secondes : &amp;lt;source lang=&amp;quot;bash&amp;quot; inline&amp;gt;curl --max-time 60 -4 -w %{size_upload} -o /dev/null -F &amp;quot;filecontent=@/tmp/temp.iso&amp;quot; http://bouygues.testdebit.info&amp;lt;/source&amp;gt;&lt;br /&gt;
* HTTPS sur une durée de 60 secondes : &amp;lt;source lang=&amp;quot;bash&amp;quot; inline&amp;gt;curl --max-time 60 -4 -w %{size_upload} -o /dev/null -F &amp;quot;filecontent=@/tmp/temp.iso&amp;quot; https://bouygues.testdebit.info&amp;lt;/source&amp;gt;&lt;br /&gt;
* HTTP sans limite de durée : &amp;lt;source lang=&amp;quot;bash&amp;quot; inline&amp;gt;curl -4 -o /dev/null -F &amp;quot;filecontent=@/tmp/temp.iso&amp;quot; http://bouygues.testdebit.info&amp;lt;/source&amp;gt;&lt;br /&gt;
* HTTPS sans limite de durée : &amp;lt;source lang=&amp;quot;bash&amp;quot; inline&amp;gt;curl -4 -o /dev/null -F &amp;quot;filecontent=@/tmp/temp.iso&amp;quot; https://bouygues.testdebit.info&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''IPv6 uniquement :'''&lt;br /&gt;
* HTTP sur une durée de 60 secondes : &amp;lt;source lang=&amp;quot;bash&amp;quot; inline&amp;gt;curl --max-time 8 -6 -w %{size_upload} -o /dev/null -F &amp;quot;filecontent=@/tmp/temp.iso&amp;quot; http://bouygues.testdebit.info&amp;lt;/source&amp;gt;&lt;br /&gt;
* HTTPS sur une durée de 60 secondes : &amp;lt;source lang=&amp;quot;bash&amp;quot; inline&amp;gt;curl --max-time 8 -6 -w %{size_upload} -o /dev/null -F &amp;quot;filecontent=@/tmp/temp.iso&amp;quot; https://bouygues.testdebit.info&amp;lt;/source&amp;gt;&lt;br /&gt;
* HTTP sans limite de durée : &amp;lt;source lang=&amp;quot;bash&amp;quot; inline&amp;gt;curl -6 -o /dev/null -F &amp;quot;filecontent=@/tmp/temp.iso&amp;quot; http://bouygues.testdebit.info&amp;lt;/source&amp;gt;&lt;br /&gt;
* HTTPS sans limite de durée : &amp;lt;source lang=&amp;quot;bash&amp;quot; inline&amp;gt;curl -6 -o /dev/null -F &amp;quot;filecontent=@/tmp/temp.iso&amp;quot; https://bouygues.testdebit.info&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{attention|le débit est calculé coté émetteur : tout paquet émis et non acquitté est compté dans les données ''size_upload''. Si un routeur a un petit débit mais un gros tampons, il est possible d'avoir une différence très importante, les données sont émises mais pas reçues car elles sont en transit dans la mémoire tampon du routeur.&lt;br /&gt;
Il est donc indispensable d'avoir un test de longue durée (par exemple 60 secondes) en téléversement. En téléchargement, 8 secondes suffisent par contre, vu que le débit est calculé coté récepteur.}}&lt;br /&gt;
&lt;br /&gt;
==Source de la section==&lt;br /&gt;
Cette section est issue d'une copie avec légères modifications de la page https://lafibre.info/tester-son-debit/curl-linux/. Je recommande d'aller jeter un œil sur ce très bon site au passage.&lt;/div&gt;</summary>
		<author><name>Ycharbi</name></author>
	</entry>
</feed>