Cultural management
- Use ribbed gourd as trap crop 
- Collect infested and fallen fruits and burry in
     deep pits.
- In endemic areas, change the sowing date as the
     fly population is low in hot dry conditions and at its peak during rainy
     season
- Expose the pupae by ploughing and turning over
     soil after harvest
- Use attractants like citronella oil, eucalyptus
     oil, vinegar (acetic acid) and lactic acid to trap flies.
- Use poison baiting in severe infestation, Mix
     methyl eugenol + malathion 50 EC at 1:1 ratio and keep 10 ml of the bait
     in polythene bags @ 25/ha.