Does anyone know any webdriver code to handle the File Upload popup(modal) generated bu clicking a Browse button in a web app?

I understand the workaround with AutoIT, using Selenium, but have things not changed in Webdriver?

PLEASE HELP!!!!