From 12ada83027694f799d6ee5caddb00f5ffe1b4d8d Mon Sep 17 00:00:00 2001
From: Jon Bergli Heier Usage: POST to $scheme://$host/u with filedata given to "file" and original filename to "filename".
- Login is sent by cookies with user id in "uid" and an identifier which is md5(uid+md5(password)).
cURL example:
curl -b 'uid=42; identifier=3858f62230ac3c915f300c664312c63f' -F 'file=@image.png' -F 'filename=image.png' http://myhost/u
Here user id is 42 and the password is "foobar".