[Top][All Lists]

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

Re: ange-ftp problem

From: Juri Linkov
Subject: Re: ange-ftp problem
Date: Wed, 28 Jan 2004 23:52:51 +0200
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux)

Stefan Monnier <address@hidden> writes:
> Can someone give me a precise recipe ?

Sure.  Two months ago I reported the same problem on this list
in the message <address@hidden>.  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 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

_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]