[Top][All Lists]

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

FTP and mkdir / make-directory

From: Matthew Krauss
Subject: FTP and mkdir / make-directory
Date: Fri, 8 Feb 2013 18:37:19 -0500


I'm not sure where the line between TRAMP and Ange-FTP is, so maybe I need to report this elsewhere - if so, please let me know.

I'm having a problem with using mkdir or make-directory on an FTP host when the directory already exists. If you give t for the parents parameter to mkdir, it should silently ignore it when the directory already exists. This works for local directories as well as remote ones using ssh/sftp. However, using ftp, it throws an error when the directory exists.

So, for instance:

(mkdir "/path/to/existing/directory" t)                      ; Does nothing
(mkdir "ssh:address@hidden:/path/to/existing/directory" t) ; Does nothing
(mkdir "ftp:address@hidden:/path/to/existing/directory" t) ; Throws an error

Any advice appreciated,

reply via email to

[Prev in Thread] Current Thread [Next in Thread]