PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : alle verbinden außer ncftp



pospiech
08.09.11, 22:38
Ich möchte zu meinem webserver verbinden. Die login Daten stimmen auch, ich kann mit dolphin und dem klassischen ftp verbinden.

Nur bei ncfto bekomme ich sofort ein permission denied:


linuxvm:/srv/web/cqa # ncftp ftp.1271.mchosting.eu -u yyy -p xxx
NcFTP 3.2.4 (May 16, 2010) by Mike Gleason (http://www.NcFTP.com/contact/).
Connecting to 217.19.xxx.xx...
(vsFTPd 2.0.7)
Permission denied.


was könnte da faul sein?

pospiech
08.09.11, 22:51
Es muss lauten


linuxvm:/srv/web/cqa # ncftp -u yyy -p xxx ftp.1271.mchosting.eu

also die reihenfolge umgekehrt.

Jetzt allerdings bekomme ich bei einem "get -R *" die Fehlermeldung


Could not traverse directory: could not parse extended file or directory information.


Alle Verzeichnisse werden (ohne konsolen ausgabe) erstellt. Aber keine Datei runtergeladen. Und ncftp lässt sich auch nicht mehr beenden.

bisti
09.09.11, 05:47
Bitte, zeig hier deine log- und vsftpd-config Dateien, damit wir nicht nur die Rätsel raten können, sondern genaue Antwort geben.

pospiech
09.09.11, 06:19
Bitte, zeig hier deine log- und vsftpd-config Dateien, damit wir nicht nur die Rätsel raten können, sondern genaue Antwort geben.

Der ftp Server steht bei meinem Provider, da komme ich nicht an die Logdateien. Und ich selber habe keinen ftp-Server am laufen.

Hier der trace von ncftp (ein Ausschnitt, ist riesig)


SESSION STARTED at: 2011-09-09 01:30:29 EDT -0400
Program Version: NcFTP 3.2.4/466 May 16 2010, 07:58 PM compiled for linux-x86-glibc2.11
Compiled for: linux-x86-glibc2.11
Process ID: 28321
Hostname: linuxvm.site (rc=3)
Terminal: xterm
01:30:29 Fw: firewall.site Type: 0 User: root Pass: ******** Port: 21
01:30:29 FwExceptions: .site,localhost,localdomain
01:30:29 Resolving ftp.abc.eu...
01:30:29 Connecting to 217.19.xx.xx...
01:30:29 LibNcFTP 3.2.4 (April 3, 2010) compiled for linux-x86-glibc2.11
01:30:29 Uname: Linux|linuxvm|2.6.37.6-0.7-desktop|#1 SMP PREEMPT 2011-07-21 02:17:24 +0200|i686
01:30:29 Contents of /etc/SuSE-release:
01:30:29 openSUSE 11.4 (i586)
01:30:29 VERSION = 11.4
01:30:29 CODENAME = Celadon
01:30:29 Contents of /etc/issue:
01:30:29 Welcome to openSUSE 11.4 "Celadon" - Kernel \r (\l).
01:30:29 Glibc: 2.11.3 (stable)
01:30:29 Logging in...
01:30:29 220: (vsFTPd 2.0.7)
01:30:29 Connected to 217.19.xx.xx.
01:30:29 Cmd: USER webf32
01:30:29 331: Please specify the password.
01:30:29 Cmd: PASS xxxxxxxx
01:30:29 Logging in...
01:30:29 230: Login successful.
01:30:29 Cmd: PWD
01:30:29 257: "/"
01:30:29 Logged in to 217.19.xx.xx as xxx.
01:30:29 Cmd: FEAT
01:30:29 211: Features:
01:30:29 EPRT
01:30:29 EPSV
01:30:29 MDTM
01:30:29 PASV
01:30:29 REST STREAM
01:30:29 SIZE
01:30:29 TVFS
01:30:29 UTF8
01:30:29 End
01:30:29 Cmd: HELP SITE
...
1:30:40 > get -R *
01:30:40 Cmd: PORT 192,168,0,191,196,171
01:30:40 200: PORT command successful. Consider using PASV.
...
01:30:41 Cmd: CWD /html
01:30:41 250: Directory successfully changed.
01:30:41 Cmd: PWD
01:30:41 257: "/html"
01:30:41 Cmd: CWD wordpress
01:30:41 250: Directory successfully changed.
01:30:41 Cmd: CWD /html
01:30:41 250: Directory successfully changed.
01:30:41 Cmd: PWD
01:30:41 257: "/html"
01:30:41 Cmd: CWD wordpress
01:30:41 250: Directory successfully changed.
01:30:41 Cmd: PWD
01:30:41 257: "/html/wordpress"
01:30:41 Cmd: CWD .
01:30:41 250: Directory successfully changed.
01:30:41 Cmd: CWD /html/wordpress
01:30:41 250: Directory successfully changed.
01:30:41 Cmd: MDTM .
01:30:41 550: Could not get file modification time.
01:30:41 Cmd: PORT 192,168,0,191,156,75
01:30:41 200: PORT command successful. Consider using PASV.
01:30:41 Cmd: LIST -a
01:30:41 150: Here comes the directory listing.
01:30:41 226: Directory send OK.
01:30:41 Cmd: MDTM ./.htaccess
01:30:41 213: 20091030215412
01:30:41 Cmd: MDTM ./bbclone
01:30:41 550: Could not get file modification time.
01:30:41 Cmd: MDTM ./download
01:30:41 550: Could not get file modification time.
01:30:41 Cmd: MDTM ./favicon.ico
01:30:41 213: 20080131184228

bisti
09.09.11, 06:39
Der ftp Server steht bei meinem Provider, da komme ich nicht an die Logdateien. Und ich selber habe keinen ftp-Server am laufen.

Na, du hast nicht uns darüber in deinem ersten Message informiert. Versuche dann "debug 1" Kommando in der ncftp Kommandozeile auszuführen, und dann zeige uns die ~/.ncftp/trace Datei.

marce
09.09.11, 06:44
The get command lets you retrieve entire directory trees, too. Although it may not work with some remote systems, you can try ``get -R'' with a directory to download the directory and its contents.
vielleicht trifft das bei Dir zu.

FTP ist sehr "eingeschränkt", was die Basisfunktionen angeht - das meiste, was Konfort angeht (und rekursives Übertragen von Dateien gehört dazu) muss vom Client implementiert werden und auf die Basis-Funktionen heruntergebrochen werden. Evtl. hakt es da bei Dir an der Stelle...

pospiech
09.09.11, 06:49
get -R <verzeichnis> liefer mir folgende Ausgabe (mit debug 1)



ncftp / > get -R html
> get -R html

Cmd: PWD
257: "/"
Cmd: CWD html
250: Directory successfully changed.
Cmd: CWD /
250: Directory successfully changed.
Cmd: PWD
257: "/"
Cmd: CWD html
250: Directory successfully changed.
Cmd: PWD
257: "/html"
Cmd: CWD .
250: Directory successfully changed.
Cmd: CWD /html
250: Directory successfully changed.
Cmd: MDTM .
550: Could not get file modification time.
Cmd: PORT 192,168,0,191,214,44
200: PORT command successful. Consider using PASV.
Cmd: LIST -a
150: Here comes the directory listing.
226: Directory send OK.
Cmd: MDTM ./ComeFrom.txt
213: 20110908072728
Cmd: MDTM ./cgi-bin
550: Could not get file modification time.
Cmd: MDTM ./index.php
213: 20081110202948
Cmd: MDTM ./website
550: Could not get file modification time.
Cmd: MDTM ./wordpress
550: Could not get file modification time.
Cmd: MDTM ./wordpress23
550: Could not get file modification time.
Cmd: PORT 192,168,0,191,164,237
200: PORT command successful. Consider using PASV.
Cmd: LIST -a ./cgi-bin
150: Here comes the directory listing.
226: Directory send OK.
Could not traverse directory: could not parse extended file or directory information.
Could not traverse directory: could not parse extended file or directory information.
Cmd: CWD /
250: Directory successfully changed.
get html: bad parameter given to library.
get html: bad parameter given to library.

bisti
09.09.11, 07:02
Ich weiss, dass es vielleicht keine gute Antwort ist, aber versuche mithilfe des "lftp" Programms dein Verzeichnis rekursiv herunterzuladen, weil es scheint mir, als es ein Bug im ncftp Programm ist.