Q: How to upload a dir using lfpt?

A: suppose the server is “example.org”, and user is “meme”, and the dir you want to upload is “mydir”. The command is: “lftp meme@example.org:/httpdocs -e 'mput mydir/*; quit'”. $ lftp -c 'open -e "mirror httpdocs /Users/xah/Documents/colleen/bcsq/vbulletin_3-6-8_Patch_Level_2_VBF6067DCE/upload" ftp://bcsq.org/' lftp -c 'mirror -R /Users/xah/Documents/colleen/bcsq/vbulletin_3-6-8_Patch_Level_2_VBF6067DCE/upload ftp://bcsq.org/httpdocs/upload'