How to get file size when export CSV(Excel) file?
How to get file size when export CSV(Excel) file?
hsungho1023
Posts: 2Questions: 1Answers: 0
I need to get number of file size (e.g. 1024 KB) when export CSV file.
How can I do this?
This question has an accepted answers - jump to answer
Answers
Hi,
The only place you would be able to get that is at this point in the code. There is no callback or event there - you would need to add some custom code.
What's the use case please?
Allan
Thanks, @allan
I tried to insert the file info (file name, file size, etc...) into database when someone download CSV file on my website.
For that sort of thing, I'd typically suggest creating the export server-side.
Allan