> 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 [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
_______________________________________________
Tramp-devel mailing list
[EMAIL PROTECTED]
http://mail.nongnu.org/mailman/listinfo/tramp-devel