![]() |
requestfilesize()?
Something similar to requesturl but would return the value of a size (like an mp3 file or something?)
|
Do you mean the filesize of a file from the gserver, or from a specified URL?
If you mean from a specified URL, I think either requestURL or requestHTTP will return the filesize header from the HTTP server where possible. |
yeah, I mean directly from an mp3 file off a website.
|
When doing obj = requesturl(url) you can get the total file size by reading obj.contentlength on clientside once the header is loaded, although that will try to download the whole file
|
Quote:
So I want to make it so they can only have a certain amount of space total, running a for loop to check all there songs size might cause major lag to the server using requesturl :o. I'll probally end up doing a number of songs I guess. |
| All times are GMT +2. The time now is 02:33 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.