Eli Zaretskii writes: Hi, >> emacs -Q -l dired-aux >> ;; Connect with Dired into a remote machine: >> (dired "/ssh:USER@MACHINE:PATH") >> >> ;; I) Create a directory >> + a/b RET >> >> ;; II) Right after run this: >> >> (file-exists-p (dired-get-filename)) >> => nil >> >> ;; Sometimes I get `t' sometimes `nil'. Maybe a timing issue? > > I think Tramp uses some caching? Michael will know for sure. Indeed. Could you (Tino), pls, test the appended patch? Best regards, Michael.