| Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente |
| technique:outilswebdav [2020/11/17 10:45] – francoisa | technique:outilswebdav [2024/04/02 15:08] (Version actuelle) – modification externe 127.0.0.1 |
|---|
| ====== Outils spécifiques Webdav ====== | **Cette page est obsolète. Veuillez accéder au contenu à son nouvel emplacement : [[https://bibliotech.cemea.org/books/outils-technique/page/outilswebdav|outilswebdav]]** |
| | |
| ===== Clients Windows pour accès webdav ===== | |
| | |
| * [[http://directnet-drive.net/webdav.php|Directnet-drive.net]] (interface un peu ancien) : freeware gratuit. qualité variable. | |
| * [[https://mountainduck.io/|Mountainduck]] : client payant complémentaire à Cyberduck (libre). qualité correcte. Synchro locale posible. (2000 € / 100). | |
| * [[https://nextcloud.com/blog/nextcloud-introduces-virtual-drive-in-desktop-client-to-simplify-desktop-integration/|Nextcloud Desktop Virtual Drive]] (en développement) | |
| * [[https://www.netdrive.net/|Netdrive]] : payant ( 3000 € / 100 users) | |
| * [[https://www.raidrive.com/|Raidrive : ]]freeware gratuit si usage restreint (2400 € / an / 100 users) | |
| * [[https://webdrive.com/|Webdrive]] : payant (2000 € / 100 users) | |
| | |
| ===== Accès en ligne de commande sous Linux ===== | |
| | |
| Source : [[https://www.qed42.com/blog/using-curl-commands-webdav|https://www.qed42.com/blog/using-curl-commands-webdav]] | |
| | |
| Pour uploder des fichiers via webdav, notamment en cli : | |
| <code> | |
| | |
| curl -T "monfichier" --anyauth --user "monuser@cemea.asso.fr:monpassword" https://cloud.cemea.org/remote.php/webdav/dossier/nouveaunom | |
| | |
| </code> | |
| | |
| D'autres commandes : | |
| | |
| <code> | |
| curl 'https://example.com/webdav/fichier'> monfichierlocal # pour récupérer fichiers ou dossiers | |
| curl -u user:password https://webdav.monsiteinternet.fr/data/fichier.ext -o monfichier.ext # pour le récupérer sous un autre nom. | |
| curl -X DELETE 'http://example.com/webdav/test' # effacer un fichier ou dossier | |
| curl -X MOVE --header 'Destination:http://example.org/webdav/new.txt' 'http://example.com/webdav/old.txt' # (rename) | |
| curl -X MKCOL 'http://example.com/webdav/new_folder' # créer nouveau dossier | |
| curl 'http://example.com/webdav' # lister le contenu du dossier webdav | |
| # Récupérer la liste des fichiers d'un dossier à filtrer ensuite : | |
| curl -X PROPFIND -H "Depth: 1" -u "monnom@cemea.asso.fr:motdepasse" https://cloud.cemea.org/remote.php/dav/files/monusernameID/dossiers/ | xml_pp | |
| | |
| </code> | |
| | |