samer wroteA quick solution would be to use Mandrill or another "email as a service" provider that allows inbound emails. Use this tutorial to set up inbound emails using mandrill:
http://help.mandrill.com/entries/21699367-Inbound-Email-Processing-Overview
Once set up, you'll be able to send a POST request (that contains the filename you would like to download) to a script hosted on your server. The script then emails you the file using
mutt or other CLI email client.
Thanks samer , awesome as always ! , I searched a bit after you gave the info needed and I came across this
http://www.email2http.net/
How it works
Step 1
Register a few details with us, we'll send you a quick email and you can activate your account.
Step 2
Login to your new account and configure your first email prefix and target. Select the method (POST or GET) you want us to use to forward the email to your script. Select the type of email body you require (HTML, TEXT, RAW). Choose any replacement variables for all parts of the email.
Step 3
That's it. Now whenever an email is received at your email prefix we'll forward it to the script you specified via the method your specified. Simple as that.