From: Martin Steffen <msteffen@ifi.uio.no>
To: help-gnu-emacs@gnu.org
Subject: Re: tramp/ange-ftp: error in creation of dir's
Date: Mon, 19 Nov 2007 19:06:20 +0100 [thread overview]
Message-ID: <m3d4u6ds9v.fsf@ifi.uio.no> (raw)
In-Reply-To: nqfxz2y3lx.fsf@alcatel-lucent.de
>>>>> "Michael" == Michael Albinus <michael.albinus@gmx.de> 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
next prev parent reply other threads:[~2007-11-19 18:06 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.3733.1195378624.18990.help-gnu-emacs@gnu.org>
2007-11-19 9:41 ` tramp/ange-ftp: error in creation of dir's Michael Albinus
[not found] ` <34247.129.240.69.93.1195465782.squirrel@webmail.uio.no>
2007-11-19 10:22 ` Michael Albinus
2007-11-19 11:07 ` Martin Steffen
[not found] ` <mailman.3785.1195470504.18990.help-gnu-emacs@gnu.org>
2007-11-19 11:30 ` Michael Albinus
2007-11-19 18:06 ` Martin Steffen [this message]
2007-11-19 21:55 ` Michael Albinus
2007-11-20 21:10 ` Martin Steffen
2007-11-20 22:46 ` Michael Albinus
2007-11-21 7:00 ` Martin Steffen
2007-11-18 9:36 Martin Steffen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m3d4u6ds9v.fsf@ifi.uio.no \
--to=msteffen@ifi.uio.no \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).