how to upload a file and to download it

hi all ,
           Plz give me some links on how to upload and download files
in RoR.

I want to upload a pdf file in one login and i want to download the
same in other login

Search for attachment_fu or paperclip.

and have look at railscasts

Thank you all!