Downloaded file cant be open/corrupted

Mohd Aizat Md R
Tera Contributor

Hi All

 

I had an issue where the file was successfully upload to interaction.

But when user or even admin download the files, it can't be open.

Right after the download file size become 0 bytes as I have verified before and after in sys_attachment table.

Anyone has any experience on this. I've tried with admin access to download also not working.

 

MohdAizatMdR_0-1666246805416.png

 

1 ACCEPTED SOLUTION

Tom Sienkiewicz
Mega Sage

I would suggest to check both the sys_attachment and sys_attachment_doc table. Maybe you are missing the attachment content in the sys_attachment_doc, or for some reason the users do not have the access to those tables.

But very likely that the attachment only had its metadata saved, but not the content.

View solution in original post

2 REPLIES 2

Tom Sienkiewicz
Mega Sage

I would suggest to check both the sys_attachment and sys_attachment_doc table. Maybe you are missing the attachment content in the sys_attachment_doc, or for some reason the users do not have the access to those tables.

But very likely that the attachment only had its metadata saved, but not the content.

Hi Tom

Thanks for the feedback. So meaning I need to check the script download is it? Im trying to look the script that calling the download button part in UI action but couldn't locate the script. Appreciate your advise. 

 

Thanks