| # We try to RECV all files in the current directory. 
 # We ignore any errors for the RECV statement. 
 # If the file transfer succeeded, we delete the remote file. 
 # We ignore any errors for the DELETE statement. 
 # 
 LIST "." INTO %F { 
 -RECV %F; 
 IF(%FTPSTATUS IN "200"-"299") { 
 -DELETE %F; 
 } 
 } 
 |