So gibt es einen FTP-Server (der unter Windows läuft) mit einigen Daten, die ich auf meinem vps synchronisieren muss. Ich habe diese Aufgabe erfolgreich mit curlftpfs + rsync gemacht, aber vor kurzem musste ich ein neues Verzeichnis hinzufügen, um die Synchronisierung zu machen, und ich bekomme sehr seltsame Ergebnisse.curlftpfs kopiert Datei/Namen falsch
Also, wenn ich den FTP-Zugriff Server ftp protocl verwenden kann ich folgendes sehen:
$ ftp FTP_HOST
Connected to FTP_HOST (FTP_HOST_IP).
220 Microsoft FTP Service
331 Password required
230 User logged in.
Remote system type is Windows_NT.
ftp> cd "mpr/Monthly Production Reports"
250 CWD command successful.
ftp> ls
227 Entering Passive Mode (10,47,12,185,245,161).
125 Data connection already open; Transfer starting.
02-28-16 11:03PM <DIR> OLD
05-10-16 02:44PM <DIR> 2016 - 01 XYZ Abc
05-10-16 02:44PM <DIR> 2016 - 02 XYZ Abc
05-10-16 02:44PM <DIR> 2016 - 03 XYZ Abc
03-07-17 01:11PM <DIR> 2016 - 10 XYZ Abc
05-10-16 02:44PM <DIR> 2015 - 12 XYZ Abc
04-01-16 02:47PM 6049686 M�n.pptx
06-13-17 01:31PM <DIR> 2016 - 12 XYZ Abc
05-11-17 05:29PM <DIR> 2017 - 01 XYZ Abc
05-11-17 05:28PM <DIR> 2017 - 02 XYZ Abc
06-28-17 10:38AM <DIR> 2017 - 04 XYZ Abc
05-11-17 05:34PM <DIR> 2017 - 03 XYZ Abc
226 Transfer complete.
Tough wenn ich curlftpfs verwende ich sehen folgendes:
$ curlftpfs "FTP_HOST/mpr/Monthly Production Reports/" "/mnt/ftp3" -o utf8,cache=no -v
* About to connect() to FTP_HOST port 21 (#0)
* Trying FTP_HOST_IP...
* Connected to FTP_HOST (FTP_HOST_IP) port 21 (#0)
< 220 Microsoft FTP Service
> USER _USER_
< 331 Password required
> PASS _PASSWORD_
< 230 User logged in.
> PWD
< 257 "/" is current directory.
* Entry path is '/'
> OPTS UTF8 ON
* ftp_perform ends with SECONDARY: 0
< 200 OPTS UTF8 command successful - UTF8 encoding now ON.
> CWD mpr
< 250 CWD command successful.
> CWD Monthly Production Reports
< 250 CWD command successful.
* Remembering we are in dir "mpr/Monthly Production Reports/"
* Connection #0 to host FTP_HOST left intact
$ ls /mnt/ftp3
-r-xr-xrwx. 5 root root 2017 Jun 28 01:00 Abc
-r-xr-xrwx. 5 root root 2017 Jun 28 01:00 Abc
-r-xr-xrwx. 5 root root 2017 Jun 28 01:00 Abc
-r-xr-xrwx. 5 root root 2017 Jun 28 01:00 Abc
-r-xr-xrwx. 5 root root 2017 Jun 28 01:00 Abc
-r-xr-xrwx. 5 root root 2017 Jun 28 01:00 Abc
-r-xr-xrwx. 5 root root 2017 Jun 28 01:00 Abc
-r-xr-xrwx. 5 root root 2017 Jun 28 01:00 Abc
-r-xr-xrwx. 5 root root 2017 Jun 28 01:00 Abc
-r-xr-xrwx. 5 root root 2017 Jun 28 01:00 Abc
----------. 1 root root 6049686 Apr 1 2016 Mån.pptx
d---------. 1 root root 0 Feb 28 2016 OLD
Die Frage ist also:
Weiß jemand, was bewirkt, dass curlftpfs diese Verzeichnisse als Dateien liest und ihre Namen ändert?
prost,
Krzysztof