How to validate file is selected or not on ajax processed jquery validation
What are you using for the file upload element? Is this in a form, webform etc.? With the Form API managed_file should do what you want.