To get rid of fruit flies take a jar or bottle. Put a small piece of fruit in the bottom and a litte water the make a paper cone with a small opening at the tip . Place the cone in the jar so that it is a couple inches above the fruit. Tape the cone inside the jar so it won't come out. They go in to get the fruit and can't figure out how to get out. When you are ready to get rid of them put a small amount of vinegar or ammonia in the botttle. If you set the flies free they will come back . It works for us everytime. You do need to move all other fruit to a fly proof container first.