Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Thu, 2 Oct 2014 14:11:00 -0400
From: "Robert Harris" <>
To: <>
Subject: RE: Having trouble uploading to the wiki


I'd rather upload a complete file, and not take out the files like *.chr
Also for cygwin windows builds there are 20 DLLs that are needed.

So, I was before using legacy zip compression.  So I zip with a better
compression and the file is a .zipx and about 5 megs smaller. 
When I tried to upload that, it says " Upload denied. This file extension is

Can/Will you increase the upload size restriction?

Frank and Alex,
The exact error messages is just 1 word "failed".

I'm not behind a corp. firewall.

-Robert Harris

-----Original Message-----
From: Solar Designer [] 
Sent: Wednesday, October 01, 2014 8:55 PM
Subject: Re: [john-users] Having trouble uploading to the wiki

Hi Robert,

On Wed, Oct 01, 2014 at 07:09:50PM -0400, Robert Harris wrote:
> I go to here to upload, as always:
> text

When I upload files to the wiki, I do so by clicking the picture icon when
editing a wiki page.  I am "unaware" of URLs like the above, and you
shouldn't need to be aware of that URL either.

OK, I've just checked - yes, the pop-up window with title "Media Files
[Openwall Community Wiki]" has the exact URL you mentioned.

> I attempt to upload the following file:
> (38,447,718
> bytes)
> It counts up to 100% percent for the first time, then it again counts 
> up to 100% percent.
> Then is shows failed.
> (Why does it count twice?  I don't remember it doing that before.)

I think I haven't seen it display upload progress percentage at all.
Maybe this is somehow browser-specific.

> There are only two thing I can think of is that maybe I'm hitting some 
> size limit or maybe the name is too long.
> Is there really a 50 M bit file limit, or is it less than advertised?

It may be less.  We have these PHP settings:

post_max_size = 50M
upload_max_filesize = 50M

and DokuWiki derives its reported file size limit from them as follows:

 * Returns the size uploaded files may have
 * This uses a conservative approach using the lowest number found
 * in any of the limiting ini settings
 * @returns int size in bytes
function media_getuploadsize(){
    $okay = 0;

    $post = (int) php_to_byte(@ini_get('post_max_size'));
    $suho = (int) php_to_byte(@ini_get(''));
    $upld = (int) php_to_byte(@ini_get('upload_max_filesize'));

    if($post && ($post < $okay || $okay == 0)) $okay = $post;
    if($suho && ($suho < $okay || $okay == 0)) $okay = $suho;
    if($upld && ($upld < $okay || $okay == 0)) $okay = $upld;

    return $okay;

I'm not familiar with PHP internals to tell if any encoding overhead is
counted against any of these limits.

> So, I made a copy of the above file and renamed it  I 
> attempted to upload this file. I get two 100%, then the failed error.

Try uploading a smaller file.  In fact, I'd prefer that you don't make these
builds that large.  Can you exclude the non-essential *.chr files, like I do
for official 1.8 tarballs?  Just refer to a separate archive for those

> Also the upload speed seems a little slow, I've got a pretty good 
> upload speed.

Just how slow is it?  Maybe you're hitting a timeout.



This email is free from viruses and malware because avast! Antivirus protection is active.

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.