Help - Search - Members - Calendar
Full Version: Suggestion: Editable File Size
Invision Power Services > Invision Power Services, Inc. > IPS Company Feedback > IP.Downloads
ysun
Some remote links doesn't support reading file size, please make the File Size value editable.

If possible, please make it 'hold-click and then editable' as same as edit the topic and description in forums.

btw, if all items in the File Information could be 'hold-click and then editable', that will be good enough.

Thanks.
Traill
I'd love the file size to be editable too, actually:

The reason for this is some of my files are hosted on a different server - but in doing so, IDM assumes the file size is always 0 bytes, because it's not hosted locally. Is this a worthwhile suggestion? original.gif
ysun
Push~
Cybertimber2008
Often times staff won't reply to a specific feature, but many do get considered. But you might want to mention the remote link file size in the bug tracker and see if there is something that can be done about that.
bfarber
It's something I'm considering, but I just released 1.2.0 so it won't be added until the next big update (if it's added). wink.gif
ysun
Thanks, m8s. I am waiting for the next release. biggrin.gif
Traill
I'm aware that any implementation of this is a long way off, but I'm not sure how you'd actually be able to do this though - can you accurately check file sizes from external links?

With this in mind though, if this is not possible, then I think that that further strengthens the case to make it possible to manually edit this field (the file's size) for any file on an individual basis, perhaps available when re-editing a submitted file? original.gif
bfarber
You can check file sizes on a direct link to a remote file generally. If your server allows outgoing communications (allow_url_fopen On in php.ini) and you are linking directly to a remote file, you can do an HTTP HEAD request to the file to get the content-size. This is what's done presently.

If you link to a page that has the file linked to on it, however, you're getting the content-size of the html page. If the request for the file generates a 301 redirect (i.e. because the remote site detects that you are hotlinking) you'll get 0 for content-size. There's a lot of "ifs".
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.