informatique:outils:curl
Ceci est une ancienne révision du document !
cURL
- Envoyer un fichier1)
curl -T <file> ftp://<url>/<path>/ --user <username>:<password>
- Envoyer plusieurs fichiers
curl -T {<file>,<file>} ftp://<url>/<path>/ --user <username>:<password>
- Reprise de l'envoi d'un fichier
curl -C - -T <file> ftp://<url>/<path>/ --user <username>:<password>
- Récupérer un fichier
curl ftp://<url>/<path>/<file> --user <username>:<password> -o <file>
- Supprimer un fichier
curl ftp://<url>/ -X 'DELE <path>/<file>' --user <username>:<password>
1)
Pour la Freebox, il faut utiliser mafreebox.freebox.fr comme url
informatique/outils/curl.1735837539.txt.gz · Dernière modification : 2025/01/02 09:05 de alexis