help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tramp/ange-ftp: error in creation of dir's


From: Martin Steffen
Subject: Re: tramp/ange-ftp: error in creation of dir's
Date: Mon, 19 Nov 2007 19:06:20 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux)

>>>>> "Michael" == Michael Albinus <address@hidden> 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 

      address@hidden:

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]