Je dois accéder à un NAS QNAP donc je ne connais pas le modèle, firmware etc. J'ai besoin de faire la copie intégrale d'un dossier, mais je ne peux rien modifier sur le serveur ftp.
Je peux y accéder en faisant :
curlftpfs ftp://IP/ /media/aten-ftp -v -o user=user:password
Pas d'erreur :
* Couldn't find host IP in the .netrc file; using defaults
* About to connect() to IP port 21 (#0)
* Trying IP... * connected
* Connected to IP (IP) port 21 (#0)
< 220 NASFTPD Turbo station 1.3.2e Server (ProFTPD) [IP_LOCAL]
> USER user
< 331 Password required for user
> PASS password
< 230 User user logged in
> PWD
< 257 "/" is the current directory
* Entry path is '/'
* Remembering we are in dir ""
* Connection #0 to host IP left intact
Mais j'ai un problème de caractère :
ls -l
-rw-rw-rw- 1 root root 357395 9 oct. 2011 Carte identit? daniel.jpg
-rw-rw-rw- 1 root root 12814 13 avril 2012 cr?ation carte.mm
Du coup, j'ai tenté ma chance avec filezilla, pour voir si j'avais le même souci :
Les fichiers accentués sont purement et simplement invisibles...
Toujours sur filezilla, en forçant le jeu de caractère 8859-1 dans les paramètres de ce site, j'arrive à voir les fichiers accentués et à les télécharger.
curlftpfs ftp://IP/ /media/aten-ftp -v -o iocharset="8859-1",user=user:password
ça donne :
ls -l
-rw-rw-rw- 1 root root 357395 9 oct. 2011 Carte identit? daniel.jpg
-rw-rw-rw- 1 root root 12814 13 avril 2012 cr?ation carte.mm
Alors j'ai tenté :
curlftpfs ftp://IP/ /media/aten-ftp -v -o iocharset="8859_1",user=user:password
curlftpfs ftp://IP/ /media/aten-ftp -v -o iocharset="8859-15",user=user:password
et
curlftpfs ftp://IP/ /media/aten-ftp -v -o iocharset="8859_15",user=user:password
mais ça me donne toujours la même chose....
ls -l
-rw-rw-rw- 1 root root 357395 9 oct. 2011 Carte identit? daniel.jpg
-rw-rw-rw- 1 root root 12814 13 avril 2012 cr?ation carte.mm
Comment faire pour accéder convenablement à mes documents ?]]>