ejabberd - Comments for "mod_http_upload PUT/GET urls" https://www.ejabberd.im/forum/28763/modhttpupload-putget-urls en Hi ! I'm working on a pretty https://www.ejabberd.im/forum/28763/modhttpupload-putget-urls#comment-67484 <p>Hi !<br /> I'm working on a pretty similar issue, trying to make the http_upload module to work as intented.<br /> However, when trying to put a file on my server, I always get a "404 error : not found", and thus I can't upload anything.<br /> Could you send me your ejabberd.yml file so I can check how you managed to make it work ?</p> <p>Thanks !</p> Tue, 23 May 2017 10:00:54 +0000 fblanc comment 67484 at https://www.ejabberd.im Looking at the code, the https://www.ejabberd.im/forum/28763/modhttpupload-putget-urls#comment-67454 <p>Looking at the code, the function store_file is called only by the function process when method = 'PUT'. So, maybe the code you want to change is somewhere else?</p> Fri, 12 May 2017 10:12:41 +0000 badlop comment 67454 at https://www.ejabberd.im Hi Badlop, Thank you so much https://www.ejabberd.im/forum/28763/modhttpupload-putget-urls#comment-67447 <p>Hi Badlop, Thank you so much for your reply. I did this and it changed both of the Put and Get urls. Is it possible to have something similar to the following:</p> <p> URL = str:join([GetPrefix, UserDir, FileName], &lt;&lt;$/&gt;&gt;),<br /> and<br /> URL = str:join([GetPrefix, FileName], &lt;&lt;$/&gt;&gt;),</p> <p>and use the first URL for Put and the second URL for Get?</p> <p>Thank you in advance.</p> Thu, 11 May 2017 20:14:42 +0000 omaraly comment 67447 at https://www.ejabberd.im Then put: URL = https://www.ejabberd.im/forum/28763/modhttpupload-putget-urls#comment-67445 <p>Then put:<br /> URL = str:join([GetPrefix, FileName], &lt;&lt;$/&gt;&gt;),</p> Wed, 10 May 2017 08:41:13 +0000 badlop comment 67445 at https://www.ejabberd.im