File import/export: what is the best practice?

My app will have to import and export data in various formats. I am
wondering what is the recommended best practice to do this sort of
thing with Rails. Any documentation on the subject would be helpful.
I can handle the parsing and formatting of the files, but I don't know
how to set up the file upload/download.

Hi,