Perhaps you can try: (in the sql file)
/******************************************************************************/
--- Converting attachments...
/******************************************************************************/
---* {$to_prefix}attachments
---{
$no_add = true;
$file_hash = getAttachmentFilename(basename($row['filename']), $id_attach, null, true);
$physical_filename = $id_attach . '_' . $file_hash;
if (strlen($physical_filename) > 255)
return;
$oldfile = $_POST['path_from'] . '/' . $row['filepath'];
if (file_exists($oldfile) && copy($_POST['path_from'] . '/'.$row['filepath'], $attachmentUploadDir . '/' . $physical_filename))
{
@touch($attachmentUploadDir . '/' . $physical_filename, filemtime($row['filename']));
$rows[] = array(
'id_attach' => $id_attach,
'size' => filesize($attachmentUploadDir . '/' . $physical_filename),
'filename' => basename($row['filename']),
'file_hash' => $file_hash,
'id_msg' => $row['id_msg'],
'downloads' => 0,
);
$id_attach++;
}
---}
SELECT u.nid AS id_msg, f.filename, f.filepath
FROM {$from_prefix}upload AS u
LEFT JOIN {$from_prefix}files AS f ON (u.fid = f.fid);
---*
and remove it, at least for the time being.