#Préambule#
* [DAFVS2](https://en.wikipedia.org/wiki/Davfs2) est entre autre utilisé pour monter localement des dossiers distant hébergés sur un serveur owncloud/nextcloud. Il utilise le protocole HTTP(S) se qui le rend plus lent que d'autre comme SSHFS mais DAVFS (webdav) lui est compatible avec le [Web](https://fr.wikipedia.org/wiki/World_Wide_Web).
Total Commander est un [logiciel libre](https://fr.wikipedia.org/wiki/Logiciel_libre) (licence [apache v2](https://fr.wikipedia.org/wiki/Licence_Apache)).
Note : cette méthode ne fonctionne qu'avec [Total Commander](https://play.google.com/store/apps/details?id=com.ghisler.android.TotalCommander&hl=fr), n'est pas encore possible de monter le dossier et de le rendre disponible pour tout les autres gestionnaires de fichiers.
#Farm Link :#
* [[Tuto/HowTo] Montage webdav/DAVFS sur Android avec Total Commander](https://www.0rion.netlib.re/forum4/viewtopic.php?f=70&t=342#p861) (tuto d'origine)
* [[Tuto/HowTo] Monter DAVFS2 sur Raspberry Pi & Ubuntu/Debian](https://www.0rion.netlib.re/forum4/viewtopic.php?f=68&t=288#p737)
* [[Tuto/HowTo] Owncloud et PHP 7](https://www.0rion.netlib.re/forum4/viewtopic.php?f=63&t=313)
* [[Tuto/HowTo][Linux] Installer un serveur owncloud auto-hébergé (php5)](https://www.0rion.netlib.re/forum4/viewtopic.php?f=63&t=216)
* [[Tuto/HowTo] Configurer un nom de domaine gratuit Netlib.re](https://www.0rion.netlib.re/forum4/viewtopic.php?f=45&t=285&p=715)
* [Total Commander / Android plugins](https://www.ghisler.com/androidplugins/googleplay/)
* [[Tuto/HowTo] [Linux] Générer certificat SSL et configurer HTTPS](https://www.0rion.netlib.re/forum4/viewtopic.php?f=45&t=99)
* [[Tuto/HowTo] Installer et Mettre en place un certificat TLS via Certbot/letsencrypt](https://www.0rion.netlib.re/forum4/viewtopic.php?f=40&t=328)
#Installer les pré-requis#
1. Installez l'application [Total Commander](https://play.google.com/store/apps/details?id=com.ghisler.android.TotalCommander&hl=fr).
1. Installez l'extension [webdav plug-in-Total Commander](https://play.google.com/store/apps/details?id=com.ghisler.tcplugins.WebDAV)
#Ajouter un ou plusieurs dossiers distants#
1. Lancez [Total Commander](https://play.google.com/store/apps/details?id=com.ghisler.android.TotalCommander&hl=fr).
1. Cliquez sur **_Webdav (dossiers http)_**

1. Cliquez sur **_Nouveau Serveur_**

1. Entrez un petit nom pour votre montage par exemple _owncloud local_
1. Entrez les informations d'accès à votre serveur :
Nom du server/repertoire => _HOSTNAME:PORT/owncloud/remote.php/webdav/_
* Remplacez HOSTNAME par l'adresse IP ou le nom d'hôte de votre serveur
* :PORT n'est nécessaire que si vous utilisez un autre port que celui par défaut.
* /owncloud/ représente le chemin complet jusqu'au dossier de votre installation d'owncloud
* Nom utilis.: => votre utilisateur sur votre serveur
* MotDePasse: => le password de votre user sur le serveur
* Cochez https:// si vous souhaitez passer par la version sécurisée de HTTP
* Cochez "Protéger avec un mot de passe maître" si vous souhaitez restreindre l'accès au montage/démontage du dossier par un mot de passe principal

1. Cliquez sur "**_Confirmer_**"
1. C'est terminé, il ne vous reste plus qu'à monter votre dossier
# Monter un ou plusieurs dossiers distant #
1. Lancez [Total Commander](https://play.google.com/store/apps/details?id=com.ghisler.android.TotalCommander&hl=fr)
1. Cliquez sur **_Webdav (dossiers http)_**

1. Cliquez sur votre montage créé précédemment
1. C'est terminé.
#ScreenShot#



