dhis2-users team mailing list archive
-
dhis2-users team
-
Mailing list archive
-
Message #15758
Re: Data element value type: File. What files are allowed?
Hi Anna
It all depends on your server setup, maybe they have changed the defaults?
somewhere in your configuration there should be a mention of a post size
limit..
--
Morten Olav Hansen
Senior Engineer, DHIS 2
University of Oslo
http://www.dhis2.org
On Fri, May 11, 2018 at 4:03 PM, Anna Downie <adownie@xxxxxxxxxxxxxxxx>
wrote:
> Thanks so much for your quick reply Morten,
>
>
>
> It’s good to know that it’s possible to upload all file types.
>
>
>
> In terms of file size, if I’ve understood the material correctly in that
> link, it looks like it says that the maxPostSize is 2MB. However we do seem
> able to upload larger sized files through Event Capture. Have I read that
> incorrectly? (I’m an M&E person not a developer I’m afraid so just checking
> I’ve understood the language correctly!)
>
>
>
> Anna
>
>
>
> Anna Downie
> *Lead: Strategic Information*
> +44 1273 718989
>
> *From:* Morten Olav Hansen [mailto:morten@xxxxxxxxx]
> *Sent:* 11 May 2018 02:50
> *To:* Anna Downie <adownie@xxxxxxxxxxxxxxxx>
> *Cc:* dhis2-users@xxxxxxxxxxxxxxxxxxx
> *Subject:* Re: [Dhis2-users] Data element value type: File. What files
> are allowed?
>
>
>
> Hi Anna
>
>
>
> Upload limit (form size) is usually set on your tomcat [1] (see
> maxPostSize attribute) or in your reverse proxy (usually nginx or apache),
> it is not something that can be configured from inside of DHIS2.
>
>
>
> We don't block any file types, so the user can upload anything it wants.
>
>
>
> [1] https://tomcat.apache.org/tomcat-8.0-doc/config/http.html
>
>
> --
>
> Morten Olav Hansen
>
> Senior Engineer, DHIS 2
>
> University of Oslo
>
> http://www.dhis2.org
>
>
>
> On Thu, May 10, 2018 at 10:20 PM, Anna Downie <adownie@xxxxxxxxxxxxxxxx>
> wrote:
>
> Hi there,
>
>
>
> I’m new to this list and relatively new to DHIS2 so I hope it’s ok to post
> this question here. In event capture (vs2.28) we are using a data element
> that allows users to upload a file. This is the Value Type = file.
>
>
>
> We frequently get asked two questions from our users in training:
>
>
>
> · What file types can be uploaded?
>
> · What’s the maximum size of an attachment?
>
>
>
> If anyone can point me in the direction of information on this it would be
> much appreciated.
>
>
>
> Thanks!
>
> Anna
>
> Anna Downie
> *Lead: Strategic Information*
>
> Preece House, 91-101 Davigdor Road, Hove, BN3 1RE, UK
> <https://maps.google.com/?q=91-101+Davigdor+Road,+Hove,+BN3+1RE,+UK&entry=gmail&source=g>
>
> *Direct line:* +44 1273 718989 *Skype:* ihaaadownie
> *Office switchboard:* +44 1273 718900
>
> End gender inequality.
> End gender-based violence.
> End the HIV epidemic
> *Add your voice to the READY movement*
> www.aidsalliance.org/ready-to-decide
>
> *Would you like to support our work?*
> *Visit our website www.aidsalliance.org <http://www.aidsalliance.org> and
> donate!*
> * Sign up to receive our **e-newsletter
> <http://www.aidsalliance.org/enewsletter>*
>
>
>
> This message and any files transmitted with it are confidential and solely
> for the use of the intended recipient. It may not be disclosed to, or used
> by,
> anyone other than the intended recipient without the consent of the
> sender. If you receive this message in error, please advise the sender
> immediately and
> remove the email from your system. The contents of this email including
> any attachments may contain software viruses which could damage your
> computer system. While International HIV/AIDS Alliance has taken every
> reasonable precaution to minimise this risk, we do not accept liability for
> any loss
> or damage sustained as a result of software viruses.
>
> The International HIV/AIDS Alliance is a company limited by guarantee,
> registered in England and Wales with company number 2883774 and registered
> as a charity under number 1038860. Registered office: Preece House, 91-101
> Davigdor Road, Hove, BN3 1RE, United Kingdom
> <https://maps.google.com/?q=91-101+Davigdor+Road,+Hove,+BN3+1RE,+United+Kingdom&entry=gmail&source=g>
> .
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help : https://help.launchpad.net/ListHelp
>
>
>
References