ncftp

Hallo,
ich möchte ein Backup per ncftp 3.1.9 von einem Verzeichnis machen.
Das Problem besteht, das nur die Dateien der ersten Unterebene kopiert werden.
Kennt ihr einen Grund?

Das eingesetzte OS ist Ubuntu.

Code:
ncftpget -d stdout -u backup -p password -R theinfo /daten/tmp /htdocs/admin
 
Der Benutzer backup hat Lese-Rechte auf alle Dateien in Unterordnern und Ausfuehrrechte fuer die Ordner selbst?
 
Ja hat er. der FTP Server ist ein FileZilla auf einem Win2k Server.
Mit anderen FTP Programmen (zb. Filezilla) klappt der download ohne Probleme.
lokal sind auch alle Rechte vergeben (sogar 777 zum debuggen :D)!
 
ne leider net.
und eigentlich ist zb unter /htdocs/admin/xampp/ der xamp-standardordner mit unterordnern und unterdateien.
ich habe das skript acuh mit einem anderen ordner probiert. er macht nur die erste ebene richtig und dann nix mehr. er erstellt noch ncihtmal die unterverzeichnisse.
ich denke es. fehlt noch irgend ein parameter oder?
Hier das Log:
(126952) 09.07.2007 16:21:53 - (not logged in) (172.16.207.130)> Connected, sending welcome message...
(126952) 09.07.2007 16:21:53 - (not logged in) (172.16.207.130)> 220-FileZilla Server version 0.9.11 beta
(126952) 09.07.2007 16:21:53 - (not logged in) (172.16.207.130)> 220-Willkommen zum THEINFO
(126952) 09.07.2007 16:21:53 - (not logged in) (172.16.207.130)> 220 xxx
(126952) 09.07.2007 16:21:53 - (not logged in) (172.16.207.130)> USER backup
(126952) 09.07.2007 16:21:53 - (not logged in) (172.16.207.130)> 331 Password required for backup
(126952) 09.07.2007 16:21:53 - (not logged in) (172.16.207.130)> PASS ********
(126952) 09.07.2007 16:21:53 - backup (172.16.207.130)> 230 Logged on
(126952) 09.07.2007 16:21:53 - backup (172.16.207.130)> PWD
(126952) 09.07.2007 16:21:53 - backup (172.16.207.130)> 257 "/" is current directory.
(126952) 09.07.2007 16:21:53 - backup (172.16.207.130)> FEAT
(126952) 09.07.2007 16:21:53 - backup (172.16.207.130)> 211-Features:
(126952) 09.07.2007 16:21:53 - backup (172.16.207.130)> MDTM
(126952) 09.07.2007 16:21:53 - backup (172.16.207.130)> REST STREAM
(126952) 09.07.2007 16:21:53 - backup (172.16.207.130)> SIZE
(126952) 09.07.2007 16:21:53 - backup (172.16.207.130)> MLST type*;size*;modify*;
(126952) 09.07.2007 16:21:53 - backup (172.16.207.130)> 211 End
(126952) 09.07.2007 16:21:53 - backup (172.16.207.130)> HELP SITE
(126952) 09.07.2007 16:21:53 - backup (172.16.207.130)> 502 Command SITE is not recognized or supported by FileZilla Server
(126952) 09.07.2007 16:21:53 - backup (172.16.207.130)> CLNT NcFTPGet 3.1.9 linux-x86
(126952) 09.07.2007 16:21:53 - backup (172.16.207.130)> 500 Syntax error, command unrecognized.
(126952) 09.07.2007 16:21:53 - backup (172.16.207.130)> OPTS MLST type;size;modify;
(126952) 09.07.2007 16:21:53 - backup (172.16.207.130)> 501 Option not understood
(126952) 09.07.2007 16:21:53 - backup (172.16.207.130)> MLST /htdocs/admin
(126952) 09.07.2007 16:21:53 - backup (172.16.207.130)> 250-Listing /htdocs/admin
(126952) 09.07.2007 16:21:53 - backup (172.16.207.130)> type=dir;modify=20070706072606; /htdocs/admin
(126952) 09.07.2007 16:21:53 - backup (172.16.207.130)> 250 End
(126952) 09.07.2007 16:21:53 - backup (172.16.207.130)> PWD
(126952) 09.07.2007 16:21:53 - backup (172.16.207.130)> 257 "/" is current directory.
(126952) 09.07.2007 16:21:53 - backup (172.16.207.130)> CWD /htdocs/admin
(126952) 09.07.2007 16:21:53 - backup (172.16.207.130)> 250 CWD successful. "/htdocs/admin" is current directory.
(126952) 09.07.2007 16:21:53 - backup (172.16.207.130)> PORT 172,16,207,130,217,73
(126952) 09.07.2007 16:21:53 - backup (172.16.207.130)> 200 Port command successful
(126952) 09.07.2007 16:21:53 - backup (172.16.207.130)> LIST -Ra
(126952) 09.07.2007 16:21:53 - backup (172.16.207.130)> 150 Opening data channel for directory list.
(126952) 09.07.2007 16:21:53 - backup (172.16.207.130)> 226 Transfer OK
(126952) 09.07.2007 16:21:53 - backup (172.16.207.130)> CWD /
(126952) 09.07.2007 16:21:53 - backup (172.16.207.130)> 250 CWD successful. "/" is current directory.
(126952) 09.07.2007 16:21:53 - backup (172.16.207.130)> MDTM /htdocs/admin/apache_pb.gif
(126952) 09.07.2007 16:21:53 - backup (172.16.207.130)> 213 20051201133402
(126952) 09.07.2007 16:21:53 - backup (172.16.207.130)> TYPE I
(126952) 09.07.2007 16:21:53 - backup (172.16.207.130)> 200 Type set to I
(126952) 09.07.2007 16:21:53 - backup (172.16.207.130)> PORT 172,16,207,130,230,5
(126952) 09.07.2007 16:21:53 - backup (172.16.207.130)> 200 Port command successful
(126952) 09.07.2007 16:21:53 - backup (172.16.207.130)> RETR /htdocs/admin/apache_pb.gif
(126952) 09.07.2007 16:21:53 - backup (172.16.207.130)> 150 Opening data channel for file transfer.
(126952) 09.07.2007 16:21:53 - backup (172.16.207.130)> 226 Transfer OK
(126952) 09.07.2007 16:21:53 - backup (172.16.207.130)> MDTM /htdocs/admin/apache_pb.png
(126952) 09.07.2007 16:21:53 - backup (172.16.207.130)> 213 20051201133402
(126952) 09.07.2007 16:21:53 - backup (172.16.207.130)> PORT 172,16,207,130,143,240
(126952) 09.07.2007 16:21:53 - backup (172.16.207.130)> 200 Port command successful
(126952) 09.07.2007 16:21:53 - backup (172.16.207.130)> RETR /htdocs/admin/apache_pb.png
(126952) 09.07.2007 16:21:53 - backup (172.16.207.130)> 150 Opening data channel for file transfer.
(126952) 09.07.2007 16:21:53 - backup (172.16.207.130)> 226 Transfer OK
(126952) 09.07.2007 16:21:53 - backup (172.16.207.130)> MDTM /htdocs/admin/apache_pb2.gif
(126952) 09.07.2007 16:21:53 - backup (172.16.207.130)> 213 20051201133404
(126952) 09.07.2007 16:21:53 - backup (172.16.207.130)> PORT 172,16,207,130,208,239
(126952) 09.07.2007 16:21:53 - backup (172.16.207.130)> 200 Port command successful
(126952) 09.07.2007 16:21:53 - backup (172.16.207.130)> RETR /htdocs/admin/apache_pb2.gif
(126952) 09.07.2007 16:21:53 - backup (172.16.207.130)> 150 Opening data channel for file transfer.
(126952) 09.07.2007 16:21:53 - backup (172.16.207.130)> 226 Transfer OK
(126952) 09.07.2007 16:21:53 - backup (172.16.207.130)> MDTM /htdocs/admin/apache_pb2.png
(126952) 09.07.2007 16:21:53 - backup (172.16.207.130)> 213 20051201133404
(126952) 09.07.2007 16:21:53 - backup (172.16.207.130)> PORT 172,16,207,130,198,97
(126952) 09.07.2007 16:21:53 - backup (172.16.207.130)> 200 Port command successful
(126952) 09.07.2007 16:21:53 - backup (172.16.207.130)> RETR /htdocs/admin/apache_pb2.png
(126952) 09.07.2007 16:21:53 - backup (172.16.207.130)> 150 Opening data channel for file transfer.
(126952) 09.07.2007 16:21:53 - backup (172.16.207.130)> 226 Transfer OK
(126952) 09.07.2007 16:21:53 - backup (172.16.207.130)> MDTM /htdocs/admin/apache_pb2_ani.gif
(126952) 09.07.2007 16:21:53 - backup (172.16.207.130)> 213 20051201133402
(126952) 09.07.2007 16:21:53 - backup (172.16.207.130)> PORT 172,16,207,130,235,3
(126952) 09.07.2007 16:21:53 - backup (172.16.207.130)> 200 Port command successful
(126952) 09.07.2007 16:21:53 - backup (172.16.207.130)> RETR /htdocs/admin/apache_pb2_ani.gif
(126952) 09.07.2007 16:21:53 - backup (172.16.207.130)> 150 Opening data channel for file transfer.
(126952) 09.07.2007 16:21:53 - backup (172.16.207.130)> 226 Transfer OK
(126952) 09.07.2007 16:21:53 - backup (172.16.207.130)> MDTM /htdocs/admin/favicon.ico
(126952) 09.07.2007 16:21:53 - backup (172.16.207.130)> 213 20051108131702
(126952) 09.07.2007 16:21:53 - backup (172.16.207.130)> PORT 172,16,207,130,165,132
(126952) 09.07.2007 16:21:53 - backup (172.16.207.130)> 200 Port command successful
(126952) 09.07.2007 16:21:53 - backup (172.16.207.130)> RETR /htdocs/admin/favicon.ico
(126952) 09.07.2007 16:21:53 - backup (172.16.207.130)> 150 Opening data channel for file transfer.
(126952) 09.07.2007 16:21:53 - backup (172.16.207.130)> 226 Transfer OK
(126952) 09.07.2007 16:21:53 - backup (172.16.207.130)> MDTM /htdocs/admin/index.html
(126952) 09.07.2007 16:21:53 - backup (172.16.207.130)> 213 20051204195450
(126952) 09.07.2007 16:21:53 - backup (172.16.207.130)> PORT 172,16,207,130,132,200
(126952) 09.07.2007 16:21:53 - backup (172.16.207.130)> 200 Port command successful
(126952) 09.07.2007 16:21:53 - backup (172.16.207.130)> RETR /htdocs/admin/index.html
(126952) 09.07.2007 16:21:53 - backup (172.16.207.130)> 150 Opening data channel for file transfer.
(126952) 09.07.2007 16:21:53 - backup (172.16.207.130)> 226 Transfer OK
(126952) 09.07.2007 16:21:53 - backup (172.16.207.130)> MDTM /htdocs/admin/index.php
(126952) 09.07.2007 16:21:53 - backup (172.16.207.130)> 213 20051203100616
(126952) 09.07.2007 16:21:53 - backup (172.16.207.130)> PORT 172,16,207,130,213,101
(126952) 09.07.2007 16:21:53 - backup (172.16.207.130)> 200 Port command successful
(126952) 09.07.2007 16:21:53 - backup (172.16.207.130)> RETR /htdocs/admin/index.php
(126952) 09.07.2007 16:21:53 - backup (172.16.207.130)> 150 Opening data channel for file transfer.
(126952) 09.07.2007 16:21:53 - backup (172.16.207.130)> 226 Transfer OK
(126952) 09.07.2007 16:21:53 - backup (172.16.207.130)> QUIT
(126952) 09.07.2007 16:21:53 - backup (172.16.207.130)> 221 Goodbye
(126952) 09.07.2007 16:21:53 - backup (172.16.207.130)> disconnected.
(126953) 09.07.2007 16:22:06 - (not logged in) (172.16.207.111)> Connected, sending welcome message...
(126953) 09.07.2007 16:22:06 - (not logged in) (172.16.207.111)> 220-FileZilla Server version 0.9.11 beta
(126953) 09.07.2007 16:22:06 - (not logged in) (172.16.207.111)> 220-Willkommen zum THEINFO
(126953) 09.07.2007 16:22:06 - (not logged in) (172.16.207.111)> 220 xxx
(126953) 09.07.2007 16:22:06 - (not logged in) (172.16.207.111)> disconnected.


Hallo hat keiner einen Tipp oder ein ähnliches Problem schonmal gehabt?
 
Zurück
Oben