File upload functionality on node display page
I am able to do it by creating custom module.

    function upload_course_form($form_id) {
    $form = array();
    $form['#attributes'] = array('enctype' =&gt; "multipart/form-data");
    $form['course_materials'] = array(
            '#type' =&gt; 'file',
            '#title' =&gt; t('Course Materials:'),
            '#size' =&gt; 60,
            );
    $form['submit'] = array(
        '#type' =&gt; 'submit',
        '#value' =&gt; 'Submit',
        '#weight' =&gt; 10
    );
    return $form;
}

  function upload_course_form_validate($form, &amp;$form_state){
  $field = 'course_materials';
  $directory = file_directory_path();
  if (file_check_directory($directory, FILE_CREATE_DIRECTORY, $field)) {
    $validators = array('file_validate_extensions' =&gt; array('pdf xls html doc txt docx'));
    if ($file = file_save_upload($field, $validators, $directory)) {
      file_set_status($file, FILE_STATUS_PERMANENT);
      $form_state['storage']['file'] = $file;

    }
  }
}

function upload_course_form_submit(&amp;$form, &amp;$form_state){
print_r($form_state['storage']['file']); //see the upload file details 
//and add the code to save the node.

}