Try the following code:
$args = array(
'post_type' => 'attachment',
'numberposts' => -1,
'post_status' => null,
'post_parent' => $post->ID
);
$attachments = get_posts( $args );
if ($attachments) {
foreach ( $attachments as $attachment) {
setup_postdata($attachment);
the_title();
the_attachment_link($attachment->ID, false);
the_excerpt();
}
}