First of all, I just don't want to change name of curl's output file.
The great example is http://www.getsoloapp.com/download.
When you do:
curl http://www.getsoloapp.com/download
you download html.
When you do (url comes from firefox download manager, it's download link):
curl http://www.getsoloapp.com/server/do_download
You download html:
<h2>No Direct Access Allowed. Please go to the downlo...
So it's not so obvious, do you have any idea how to extract url or just download file? I've tried browsers like w3m, links, curl, wget, etc.