How to make uploaded file permanent to node without node submit

My module automatically save new empty node when user create new node and redirect to edit this node. Now, is it possible to make uploaded file on _node_edit form without submitting form?

edit:
When user visit “node/add/article” for example, my module save new node type article and redirect user to “node/NID/edit” to edit this node. In node have fields type “image” and “file”. User upload image and file.
Now, how to alter their (ajaxified) upload process to make this files permanent to node without click on “Save” button on node edit form?


Go to Source of this post
Author Of this post: svetlio
Title Of post: How to make uploaded file permanent to node without node submit
Author Link: {authorlink}