# lftp configuration file.
-# Display all files (even hidden ones) with 'ls'.
+# Display all files (including hidden ones) with `ls`.
set ftp:list-options -a
# Store passwords in the bookmarks file.
set bmk:save-passwords yes
-# Create new "command" sync which will sync local directories with remote ones
-# and transfer all missing/outdated files. Local files which don't exist
-# anymore are removed on the server.
+# Create "sync" command which syncs local directories with remote ones and
+# transfers all missing/outdated files. Local files which don't exist anymore
+# are removed on the server.
alias sync mirror --verbose --reverse --delete --dereference --exclude .DS_Store
+
+# Create ".." and "..." commands to go up directory in the tree.
+alias .. cd ..
+alias ... cd ../..