"Hash table holding associations between HOST, USER pairs.")
(defvar ange-ftp-passwd-hashtable (ange-ftp-make-hashtable)
- "Mapping between a HOST, USER pair and a PASSWORD for them.")
+ "Mapping between a HOST, USER pair and a PASSWORD for them.
+All HOST values should be in lower case.")
(defvar ange-ftp-account-hashtable (ange-ftp-make-hashtable)
"Mapping between a HOST, USER pair and a ACCOUNT password for them.")
(or pass default "")))
(defmacro ange-ftp-generate-passwd-key (host user)
- (` (concat (, host) "/" (, user))))
+ (` (concat (downcase (, host)) "/" (, user))))
(defmacro ange-ftp-lookup-passwd (host user)
(` (ange-ftp-get-hash-entry (ange-ftp-generate-passwd-key (, host) (, user))