<form method=post enctype=multipart/form-data action="data:text/html,"><textarea name='file"; filename="filename.ext
'></textarea>
<script>
document.forms[0].submit();
</script>