Bookmarks are saved but I get an empty (new file) when I run bookmark edit inside lftp and I don't have any ~/.lftp/bookmarks file.
For information, I add bookmarks like this:
$ lftp sftp://username@mysitehost
$ password:
lftp> bookmark add mysite
lftp> exitand then I can use the bookmark like this
$ lftp mysite
$ password:
lftp> 2 Answers
Despite running lftp as a regular user, I found that lftp actually stores the bookmarks in root's files (despite lftp> bookmark edit opening a blank file).
Check:
/root/.local/share/lftp/bookmarks Nowadays the bookmarks are stored in the file ~/.local/share/lftp/bookmarks
You can still edit them with
lftp
bookmark edit