How to give a Free e-book upon signup

Hello All

I want to give a way a free ebook as soon as the user signup to my site. Maybe hosting a PDF in the media library and provide a thanks email with the link in the Automessage plugin?

Any Ideas?