For some reason, the files in the database won't open if they have the # character in them...
One thing i noticed was in the file name, the link doesn't have %20 for the space characters after the # sign, but even when i replace the rest of the number characters with the %20 character, the link still doesn't work..
Any ideas why it could be?
Added from comments I looked more into the code and it seems like this is what actually opens the files; wpg_docload.download_file(v_filename, false);