Drupal 7 views add one field as a URL to another
for the Title, set it 'Exclude from display'
for the File attachments, 'Rewrite the output of this field' using the token for Title


Make sure the Title field appears above the file attachment, or the file attachment won't recognize it as a valid token when rewriting the output