eh.. filesize
Moderator: General Moderators
eh.. filesize
Its not possible to get the size of a file before it's uploaded to a tmp location is it?
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
- John Cartwright
- Site Admin
- Posts: 11470
- Joined: Tue Dec 23, 2003 2:10 am
- Location: Toronto
- Contact:
Eh, that's what I was going to try to write, feyd 
I was bored.
I had some good logic though.
Get the size of the file before its uploaded (heh, right:P), poll the server for the size of the tmp file at specified intervals, divide currentsize by totalsize * 100 to get a percentage. Load an image and stretch the width to xx percent. Use javascript to refresh the progress bar at said specified intervals.
Meh, now that I know that's impossible, I'll give up
. I'm sure someone's already thought of something along those lines... I almost felt smart for a minute.
I was bored.
I had some good logic though.
Get the size of the file before its uploaded (heh, right:P), poll the server for the size of the tmp file at specified intervals, divide currentsize by totalsize * 100 to get a percentage. Load an image and stretch the width to xx percent. Use javascript to refresh the progress bar at said specified intervals.
Meh, now that I know that's impossible, I'll give up
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
aaaaaaaaaaaaahh clone thread, viewtopic.php?p=198730#198730
haha that first post is what got me thinking about trying to write one.
And I assure you, this thread was made before you posted your reply
I think anyways.
And I assure you, this thread was made before you posted your reply
I think anyways.
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.