my webhosting service doesn't accept "non-standard" request, i've changed jUniUploader to send a standard "User-Agent".
1) file res\Defaults.properties
change line 255 to
- Code: Select all
conf.useragent=Mozilla/5.0
2) file com\lyndir\lhunath\juniuploader\domain\UniAdminRequest.java
add after line 116
- Code: Select all
conn.setRequestProperty( "User-Agent", "Mozilla/5.0" );
3) file com\lyndir\lhunath\juniuploader\domain\Addon.java
add after line 220
- Code: Select all
conn.setRequestProperty( "User-Agent", "Mozilla/5.0" );
Compile, compress and work done.
Feature request:
Can jUniUploader in the future accept these sync settings?
DOWNLOADAFTERUPLOAD
DOWNLOADBEFOREUPLOAD
DOWNLOADBEFOREWOWL
RETRDATAFROMSITE
RETRDATAURL
WEBWOWSVFILE
Thanks in advance
Shy