-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Display file size in API #46
Comments
https://github.com/nokonoko/Pomf#configuring The "real" max upload size is left up to the person who configured the webserver to set it, so it would be pretty difficult to create a file that gets the current webserver configuration, as depending on which OS and software you run it on, there are many many places to find a webserver configuration file and many many ways you have to read them. Otherwise, if you want to trust whatever the Gruntfile says, you can have Grunt create a simple file called |
It would be nice if it would be converted to bytes for API tools. It is still better than lack of such way to check max file size. |
It's hard to introduce any changes to the pomf API now that there are On 05/03/16 23:15, Mikolaj Halber wrote:
|
So, for now I'll probably just do it with good old host_list, maybe some day all clone owners will sit on |
how do e.g. browsers get file size of files before downloading them, then? |
@avail The |
I believe lich wanta to know the max size of files you can upload, rather than the filesize of the files you download. On 7 March 2016 18:13:56 CET, 0x617661696c [email protected] wrote:
Sent from my Android device with K-9 Mail. Please excuse my brevity. |
Oh my bad, I haven't read the post fully (was initially reading whilst on phone) |
This will not be implemented in The v2 API is much more important for me for the eventual 3.0 branch.
That will not happen until Rizon allows connections from Tor or someone creates a mailing list for Pomf development and discussion. I'm banned on Rizon for operating a Tor exit from my home. |
As a pomf API programmer, I need some way to manage the maximum file size for certain host. It would be great if there was a page (/maxsize.php) which would show maximum size in bytes.
The text was updated successfully, but these errors were encountered: