Bonjour à tous
J'ai un problème pour copier un répertoire réseau sur mes machines message d'erreur 'acces denied'
copytree2('\\ip serveur\rep\rep\'repertoire à copier','C:\destination) Les droits de copie sont -il ceux du user actuel ou system machine local ?
Comment copier un dossier réseau sur les machines ? Ou comment copier le répertoire que l'on a inclus dans l'archive wapt dans un répertoire précis sur le disque local .
Merci pour votre aide
laurent
Bonjour Laurent,
Pour ma part je fais cela pour copier un répertoire sur ma machine :
copytree2(r'.\TeraTerm',r'c:\Softs\TeraTerm',onreplace=default_overwrite_older)
le .\Teraterm c'est le repertoire situé dans le dossier wapt à la racine . IL ne faut pas oublié le « r' » avant dans la commande pour un repertoire,
Cordialement,
Damien
De : WAPT [mailto:wapt-bounces@lists.tranquil.it] De la part de Laurent PETROVIC Envoyé : mardi 14 août 2018 11:32 À : wapt@lists.tranquil.it Objet : [Wapt] Copie de repertoire
Bonjour à tous
J'ai un problème pour copier un répertoire réseau sur mes machines message d'erreur 'acces denied'
copytree2('\\ip serveur\rep\rep\'repertoire à copier','C:\destination)
Les droits de copie sont -il ceux du user actuel ou system machine local ?
Comment copier un dossier réseau sur les machines ? Ou comment copier le répertoire que l'on a inclus dans l'archive wapt dans un répertoire précis sur le disque local .
Merci pour votre aide
laurent