TODO: implement the other switch cases in gup_handler().
Attach a file by drag & drop or click to upload