Hello Guy's
Below code will help you to download file from server using liferay 6.2.
Here I am writing a portlet to download file.
For better understanding create portlet in your eclipse and follow below steps For full information, Visit full Blog.
http://findnerd.com/list/view/How-to-download-file-in-liferay-6-2-/1944/