RS Form Pro has always added a prefix to file names once they are uploaded using the built in upload component. There was a fix to preserve the original file name that worked up until 1.3.0:
Original code in functions.php file:
// todo - customize prefix
$timestamp = uniqid('');
// todo - handle files through joomla
move_uploaded_file($tmp_name[$i],$dest[$i].$timestamp.'-'.$name[$i]);
@chmod($dest[$i].$timestamp.'-'.$name[$i],0644);
$file = $dest[$i].$timestamp.'-'.$name[$i];
Fix to diable file renaming:
// todo - handle files through joomla
move_uploaded_file($tmp_name[$i],$dest[$i].$name[$i]);
@chmod($dest[$i].$name[$i],0644);
$file = $dest[$i].$name[$i];
The folder / file structure has changed with 1.3.0 and I have yet to figure out how to prevent the renaming of files. Has anyone figured out a solution on how to preserve the original file name? Thanks!