>>>>> In <[EMAIL PROTECTED]> >>>>> Michael Albinus <[EMAIL PROTECTED]> wrote:
>> (setq ange-ftp-name-format >> '("^/\\(?:ftp:\\)?\\(?:\\([^/:]*\\)@\\)?\\([^@/:]*[^@/:.]\\):\\(.*\\)" >> 2 1 3)) >> >> I greatly appreciate if someone modifies the Emacs source code. > This would be another solution. But Tramp is intended to work with > older Emacsen (older ange-ftp), too. So I would prefer to solve it > inside Tramp. > Please check, whether the fix in CVS, together with the original > ange-ftp, solves the problem. Thanks! I confirmed the problem (Emacs connects to the remotehost as an anonymous user even in the non-anonymous connection) has gone. I see the change you made in tramp-ftp.el is ingenious! Unfortunately, I noticed another problem on Tramp ftp. Emacs attempts to cd to a remote file, not a directory, after copying a file from the local dired buffer to the remote dired buffer using the C command. It can be verified even if the remotehost is `localhost'. Here is a ftp session at that time: ftp> type binary 200 TYPE is now 8-bit binary ftp> put /home/yamaoka/file.gz /file.gz 200 PORT command successful 150 Connecting to port 20578 226-41857.2 Mbytes free disk space 226-File successfully transferred 226 0.184 seconds (measured here), 65.23 bytes per second type ascii 12 bytes sent in 5.9e-05 seconds (2e+02 Kbytes/s) ftp> 200 TYPE is now ASCII ftp> cd /file.gz 550 Can't change directory to /file.gz: Not a directory ftp> cd /file.gz 550 Can't change directory to /file.gz: Not a directory In addition, the other problem which I reported in the later part of the message <[EMAIL PROTECTED]> is still there. Anyway, people who have been using ange-ftp for years will not be able to upgrade their Emacs until the ftp method of Tramp is completed. I recently began to use Emacs mainly instead of XEmacs and efs, so I am not an exception. Although the ssh method of Tramp seems to work very fine, the insecure ftp is still useful (and fast) especially for using it behind the firewall. I also encountered another problems related to Tramp ftp, however I cannot reproduce them now. I will send reports again when I can clarify the problems. Regards, -- Katsumi Yamaoka <[EMAIL PROTECTED]> _______________________________________________ Tramp-devel mailing list [EMAIL PROTECTED] http://mail.nongnu.org/mailman/listinfo/tramp-devel