fopen(), instead of going through fd.c ... naughty naughty.
Attach a file by drag & drop or click to upload