emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: ange-ftp problem


From: Stefan Monnier
Subject: Re: ange-ftp problem
Date: 29 Jan 2004 10:51:07 -0500
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

> After copying a file from local file system to ftp server using dired
> copy command, Emacs signals an error and displays the ftp buffer.

Sorry for not precisely describing what I meant by "precise recipe", but if
you assume I'm a complete idiot, it helps ;-) : I don't use dired, so I have
no idea how you did the copying from local to ftp.

Also this kind of problem is often/usually dependent on the ftp server, so
some amount of info about the ftp server(s) where this appears would help.

Finally, I don't think I have write-access to any ftp server any more.
Can I use sftp instead?  How would I go about telling ange-ftp to use sftp?

One more thing: if someone could reproduce (part of) the problem without
dired, that would help (or if someone could edebug dired to see where the
problem comes from).

Oh, wait: could you get a backtrace (by setting setq debug-on-error or if
that doesn't work, by setting debug-on-signal) ?


        Stefan


> The file is copied correctly, but when dired tries to update the
> ftp dired buffer, it uses the copied file name as a directory name,
> and FTP server returns an error.

> Below is all relevant information:

> _Buffer *ftp address@hidden:
ftp> put /home/user/emacs/testfile /tmp/testfile
> 200 PORT command successful
> 150 Opening BINARY mode data connection for /tmp/testfile
> 226 Transfer complete.
> 5 bytes sent in 0.00 secs
> type ascii
ftp> 200 Type set to A
ftp> cd /tmp/testfile
> 550 /tmp/testfile: Not a directory
> cd /tmp/testfile
ftp> 550 /tmp/testfile: Not a directory
ftp> 

> _Buffer *Messages*_:
> Copying testfile to /address@hidden:/tmp/...done
> Copy [-p]: 1 of 1
> Doing CD... [2 times]
> Copy [-p] `/home/user/emacs/testfile' to `/address@hidden:/tmp/testfile' 
> failed:
> (ftp-error FTP Error: DIR failed: 550 /tmp/testfile: Not a directory)

> _Buffer *Dired log*_:
> Copy [-p] `/home/user/emacs/testfile' to `/address@hidden:/tmp/testfile' 
> failed:
> (ftp-error FTP Error: DIR failed: 550 /tmp/testfile: Not a directory)
> Copy [-p] failed for 1 of 1 file





reply via email to

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