I am using apex:inputFile to upload documents in a vf page, but sometimes the file is getting saved as .dat file. This is not happening always. I am not rerendering the apex:inputfile and we are not using salesforce for outlook, so I've ruled out the rtf file format issue.

What could be the issue?

  • Could you post your code? Are you getting the mime type for the file? – crmprogdev Dec 10 '14 at 16:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.