Filters with filtering elements which move during the filtering operation having feed or discharge devices for discharging filtrate