From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Martin Steffen Newsgroups: gmane.emacs.help Subject: Re: tramp/ange-ftp: error in creation of dir's Date: Mon, 19 Nov 2007 19:06:20 +0100 Organization: IFI UiO Norway Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1195495855 18531 80.91.229.12 (19 Nov 2007 18:10:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 19 Nov 2007 18:10:55 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Nov 19 19:10:59 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IuB3n-0004Oy-SO for geh-help-gnu-emacs@m.gmane.org; Mon, 19 Nov 2007 19:09:28 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IuB3a-00052O-AQ for geh-help-gnu-emacs@m.gmane.org; Mon, 19 Nov 2007 13:09:14 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IuB3B-0004uH-5O for help-gnu-emacs@gnu.org; Mon, 19 Nov 2007 13:08:49 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IuB3A-0004t7-GF for help-gnu-emacs@gnu.org; Mon, 19 Nov 2007 13:08:48 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IuB3A-0004so-0b for help-gnu-emacs@gnu.org; Mon, 19 Nov 2007 13:08:48 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IuB39-0003d7-Bk for help-gnu-emacs@gnu.org; Mon, 19 Nov 2007 13:08:47 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1IuB1B-0004Wl-Ut for help-gnu-emacs@gnu.org; Mon, 19 Nov 2007 18:06:45 +0000 Original-Received: from cm-84.215.123.169.getinternet.no ([84.215.123.169]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 19 Nov 2007 18:06:45 +0000 Original-Received: from msteffen by cm-84.215.123.169.getinternet.no with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 19 Nov 2007 18:06:45 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 119 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: cm-84.215.123.169.getinternet.no User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) Cancel-Lock: sha1:QeZ9UDDZPrkuZ/Kh/xu/YOHf0z0= X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:49348 Archived-At: >>>>> "Michael" == Michael Albinus writes: >> work, i.e., I can browse the directory tree, open files, change >> them, and store them back. Only in the ftp-command buffer, >> tramp/ange-ftp complains that those directories are not there: >> >> ls -al /tmp/ange-ftp3480Z7F ftp> 227 Entering Passive Mode (192,168,1,4,207,17) >> 150 Opening ASCII mode data connection for directory listing. 226 >> Transfer complete. quote mdtm /Volume_1/ ftp> 550 /Volume_1: No such file or directory. Michael> Does it mean you are able to browse the directory "/Volume_1" Michael> in dired? Strange. Michael> Could you, please, provide the ange-ftp buffer for a whole Hi, so, here is the FTP-Buffer. Note that it contains 2 parts, one that is ``automatically'' done when I am operating in dired mode. The very last part reflects the interaction, when _I_ myself use the FTP-buffer as interactive shell to operate the ftp-protocol. The file structure is /Volume_1 at the root. When I logon to the directory msteffen@192.164.1.4: I get the root / of the file system displayed in dired (as I would expect). Getting into the displayed directory /Volume_1 in the dired gets me there, as exected. The next command, the attempted creation of "testdir", fails. So I can browse fine, but creating directories does not work (the same happens when trying to delete an empty directory). I appended also the error stack of the debugger, to see the different ange-ftp/tramp function calls. The version of the FTP server is indicated in the protocol, I guess. Anyway, the host is a NAS (network attached server, a D-Link DNS-323) and I cannot login to it, it's accessible basically via FTP (and samba and UPnP). ----------------- FTP BUFFER PROTOCOL ----------- ftp> open 192.168.1.4 Connected to 192.168.1.4 (192.168.1.4). 220 sputstore FTP server (Version wu-2.6.2(52) Tue Jan 2 14:13:26 CST 2007) ready. user "msteffen" Turtle Power! ftp> 331 Password required for msteffen. 230-Welcome to my FTP site. 230-Now is the time ==> Mon Nov 19 18:59:49 2007 230-The host name is sputstore 230-You are msteffen 230-There are 1 person in my site, now. 230- 230- 230 User msteffen logged in. hash ftp> Hash mark printing on (1024 bytes/hash mark). pwd ftp> 257 "/" is current directory. cd / ftp> 250 CWD command successful. ls -al /tmp/ange-ftp3919p4c ftp> 227 Entering Passive Mode (192,168,1,4,252,97) 150 Opening ASCII mode data connection for directory listing. 226 Transfer complete. quote mdtm / ftp> 550 /mnt: not a plain file. quote mdtm / ftp> 550 /mnt: not a plain file. ftp> cd /Volume_1/ 250 CWD command successful. ls -al /tmp/ange-ftp3919YEK ftp> 227 Entering Passive Mode (192,168,1,4,19,212) 150 Opening ASCII mode data connection for directory listing. 226 Transfer complete. quote mdtm /Volume_1/ ftp> 550 /Volume_1: No such file or directory. quote mdtm /Volume_1/ ftp> 550 /Volume_1: No such file or directory. ftp> mkdir /Volume_1/testdir 550 /Volume_1/testdir: No such file or directory. mkdir /Volume_1/testdir ftp> 550 /Volume_1/testdir: No such file or directory. ----------->>> from here: my own interaction <<<-------------- ftp> pwd 257 "/Volume_1" is current directory. ftp> mkdir testdir 257 "/mnt/HD_a2/testdir" new directory created. ftp> ----------------- FTP BUFFER PROTOCOLL END -------------------------------------------------- ----------------- error stack of the emacs lisp debuffer Debugger entered--Lisp error: (ftp-error #("FTP Error: Could not make directory /192.168.1.4:/Volume_1/testdir: 550 /Volume_1/testdir: No such file or directory." 0 68 nil 68 117 (fontified nil rear-nonsticky t field output inhibit-line-move-field-capture t))) signal(ftp-error (#("FTP Error: Could not make directory /192.168.1.4:/Volume_1/testdir: 550 /Volume_1/testdir: No such file or directory." 0 68 nil 68 117 (fontified nil rear-nonsticky t field output inhibit-line-move-field-capture t)))) ange-ftp-error("192.168.1.4" "msteffen" #("Could not make directory /192.168.1.4:/Volume_1/testdir: 550 /Volume_1/testdir: No such file or directory." 0 57 nil 57 106 (inhibit-line-move-field-capture t field output rear-nonsticky t fontified nil))) ange-ftp-make-directory("/192.168.1.4:/Volume_1/testdir" nil) apply(ange-ftp-make-directory ("/192.168.1.4:/Volume_1/testdir" nil)) ange-ftp-hook-function(make-directory "/192.168.1.4:/Volume_1/testdir" nil) apply(ange-ftp-hook-function make-directory ("/192.168.1.4:/Volume_1/testdir" nil)) tramp-ftp-file-name-handler(make-directory "/192.168.1.4:/Volume_1/testdir" nil) apply(tramp-ftp-file-name-handler make-directory ("/192.168.1.4:/Volume_1/testdir" nil)) tramp-file-name-handler(make-directory "/192.168.1.4:/Volume_1/testdir" nil) make-directory("/192.168.1.4:/Volume_1/testdir") dired-create-directory("/192.168.1.4:/Volume_1/testdir") call-interactively(dired-create-directory) . Cheers, Martin