[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: tramp (2.0.54); If you create a dir in M-x ftp after getting dired-d
Re: tramp (2.0.54); If you create a dir in M-x ftp after getting dired-do-create-files: Marked Copy: target must be a directory: /ftp:address@hidden:/backup. you still get that error
Mon, 05 Feb 2007 15:13:55 +0100
Gnus/5.1008 (Gnus v5.10.8) Emacs/20.7 (hpux)
Timothy Hobbs <address@hidden> writes:
> well, I want to create a file, but the directory I want to make it in doesn't
> exist. so I go and make the directory in M-x ftp. But tramp still thinks the
> directory is non existent.
But this is OK. ange-ftp (that's what we are speaking about) does a
kind of caching. When you create a new directory on your remote host,
outside of ange-ftp, it cannot know this. If you are in the dired
buffer of the parent directory of our new directory, you shall apply
"M-x revert-buffer" (or type "g"). Then your new directory will be
known to ange-ftp.
But I don't understand why you create a new directory this way. The
command dired-create-directory does it also for remote hosts. When you
are in the corresponding parent directory, just hit "+" ...
Best regards, Michael.