#2394 - Filesize and upload issue
| Identifier | #2394 |
|---|---|
| Issue type | Feature request or suggestion |
| Title | Filesize and upload issue |
| Status | Completed |
| Handling member | Chris Graham |
| Addon | downloads |
| Description | First and foremost, I cannot upload any files via the download interface, it gets to about 99% then gives me an http error (this might be my end, my pc is acting weird lately).
I have instead used a url to a file which is in the composr uploads directory. The filesize wasn't detected (and seems to revert to 16kb if you clear it completely and save. Anyhow, I have entered 109358 as the filesize, which should in fact be 107MB or thereabouts (it's 109MB on my HD). The filesize is being shown at 107KB though. |
| Steps to reproduce | |
| Funded? | No |
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".


Comments
I can deal with the rest though.
"The filesize wasn't detected"
Code assumed allow_url_fopen PHP option was on even though we explicitly turn it off. I've re-implemented detection is a safe-way, using our own downloader.
"and seems to revert to 16k"
I think 1.6GB actually. And that's actually due to a bug, this is basically a random number we use for inline editing detection. Fixed.
"The filesize is being shown at 107KB though"
The option is in bytes, not KB - so this is a misunderstanding.