In report pages:

The URL in the single Submission page is correct BUT the URL in Table report page (webform-results/table) is wrong and is impossible to download the file from this view (because the URL is the default one of Webform module) .

This is the Webform module function that create this link:

in file.inc

function _webform_table_data_file($data) {
  $output = '';
  $filedata = unserialize($data['value']['0']);
  if (!empty($filedata['filename'])) {
    $output = '<a href="'. base_path() . $filedata['filepath'] .'">'. $filedata['filename'] .'</a>';
    $output .= ' ('. (int)($filedata['filesize']/1024) .' KB)';
  }
  elseif (!empty($filedata['error'])) {
    $output = $filedata['error'];
  }
  return $output;
}

How i can override it?
Thanks!