Hi,
I know it is possible to handle http requests using the fileserver.
Is it possible to handle file upload as well?
Thanks
To access the most up-to-date ejabberd documentation, please visit docs.ejabberd.im »
Hi,
I know it is possible to handle http requests using the fileserver.
Is it possible to handle file upload as well?
Thanks
No, that module doesn't
No, that module doesn't implement such a feature.
I want to let my users
I want to let my users upload avatars using http.
Something like the great mod_webpresence module but in the other direction.
Do you have an idea where can I start?
Thanks
Such a functionality is not
Such a functionality is not implemented anywhere in ejabberd or in any ejabberd contributed module.
So, if you are looking for example code in Erlang to simplement such a feature, you can start looking at web servers written in Erlang: httpd is included in Erlang/OTP, Yaws has someupload feature ...