Stefan Monnier <[EMAIL PROTECTED]> writes:
> Can someone give me a precise recipe ?

Sure.  Two months ago I reported the same problem on this list
in the message <[EMAIL PROTECTED]>.  I'll duplicate it here.

After copying a file from local file system to ftp server using dired
copy command, Emacs signals an error and displays the ftp buffer.
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 [EMAIL PROTECTED]:
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 /[EMAIL PROTECTED]:/tmp/...done
Copy [-p]: 1 of 1
Doing CD... [2 times]
Copy [-p] `/home/user/emacs/testfile' to `/[EMAIL PROTECTED]:/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 `/[EMAIL PROTECTED]:/tmp/testfile' failed:
(ftp-error FTP Error: DIR failed: 550 /tmp/testfile: Not a directory)
Copy [-p] failed for 1 of 1 file

-- 
http://www.jurta.org/emacs/



_______________________________________________
Tramp-devel mailing list
[EMAIL PROTECTED]
http://mail.nongnu.org/mailman/listinfo/tramp-devel

Reply via email to