I'm guessing you don't have this problem when downloading .zip or other file formats.
Your computer has been set up to open PDF files directly in the browser, hence the behavior you're experiencing.
You might be able to get around this by editing your /pub/.htaccess file, changing the following:
Code:
# but now allow just *certain* necessary files:
<FilesMatch ".*\.(zip|ZIP|pdf|PDF|mp3|MP3|swf|SWF|wma|WMA|wmv|WMV)$">
Order Allow,Deny
Allow from all
# tell all downloads to automatically be treated as "save as" instead of launching in an application directly
# (just uncomment the next 2 lines by removing the '#'):
# ForceType application/octet-stream
# Header set Content-Disposition attachment
</FilesMatch>
to this instead:
Code:
<FilesMatch ".*\.(zip|ZIP|gzip|pdf|PDF|mp3|MP3|swf|SWF|wma|WMA|wmv|WMV|wav|epub)$">
Order Allow,Deny
Allow from all
</FilesMatch>
<IfModule mod_headers.c>
<FilesMatch ".*\.(zip|ZIP|gzip|pdf|PDF|mp3|MP3|swf|SWF|wma|WMA|wmv|WMV|wav|epub)$">
# tell all downloads to automatically be treated as "save as" instead of launching in an application directly
# ALERT: ForceType requires Apache2 or later. If using older version of Apache, it will need mod_mime installed. Or just comment out the ForceType line below
# (to disable, just comment the next 2 lines by adding a '#' at the beginning of each):
ForceType application/octet-stream
Header set Content-Disposition attachment
</FilesMatch>
</IfModule>
Bookmarks