Re: upload size is -1

Gabe Wong <[email protected]> Fri, 05 Oct 2007 13:52:26 -0700
Newsgroups gmane.comp.java.jspwiki.user
Message-ID <[email protected]>
And the following are set at defaults (commented)
#jspwiki.attachment.maxsize=100000
#jspwiki.attachment.allow=.png .jpg .zip .jar
#jspwiki.attachment.forbid=.html .htm .php .asp .exe

If so, does your organization have a web filter? It may be blocking such 
access.
Try this.
Go to
http://demo1.ngasi.biz/JSPWiki
login as admin with password tiger and try uploading.



Gabe Wong wrote:
> In your jspwiki.properties, does 
> "jspwiki.basicAttachmentProvider.storageDir" correspond to a valid 
> directory that your application has write access to?
>
> jxt wrote:
>> I just installed JSPWiki 2.4.104. Not an upgrade, very first install, 
>> and I'm
>> testing it out. Most things work as expected, but file attachments are
>> failing. The upload screen gives the appearance of working, but the 
>> uploaded
>> file is nowhere to be found. The logs claim no error, but do show an 
>> upload
>> size of -1, an obvious hint that something is wrong. Any idea what? 
>> Thanks.
>>   
>
>


-- 
Regards

Gabe Wong
Private JVM JAVA Hosting Automation
http://www.ngasi.com