Designer code for download file in portlet?

Does anyone have any experience in coding a portlet function to download a file? This is different from using the Export table function, and would work in the opposite direction as the File Input object, although it would look similar. Users would browse to a folder area on the CAF server, select a file to download from the folder area, and download to their PC.

Any ideas or suggestions would be appreciated.