On Jan 16, 2010, at 00:00, Jorge Bastos wrote:

> I need to execute a remote command do delete all files on a remote FTP dir.
> Lftp -u backup,backup  -C "MDEL /backup/dir/*" 192.168.1.249
> Does lftp provides such feature?

Try

rm -r /backup/dir

As "help rm" says though, be careful you got the directory name right and you 
really want to destroy it.

Reply via email to