On Jan 16, 2010, at 00:42, Jorge Bastos wrote: >> Try >> rm -r /backup/dir > Hum, but that is to local command... what I want to delete Is on the remote > server.
Not in lftp it's not. rm works on the remote server in lftp, as does cd, ls and so on. To execute them on the local system, you'd have to use !rm, lcd or !lls instead. So your hypothetical command of > Lftp -u backup,backup -C "MDEL /backup/dir/*" 192.168.1.249 would correctly be lftp -u backup,backup -c "rm -r /backup/dir" 192.168.1.249
