Based on Peter's work, ported to current wr_endpoint code.
Attach a file by drag & drop or click to upload