If you can provide a fine mesh top, then the fruit flies can't escape. Unfortunately, you have to make one yourself as no one manufactures one presently. If I still made silk screens for a living I would be making them.