JS Obtenha arquivo da entrada
<input type="file" onchange="getFiles(event)" />
<script type="text/javascript">
function getFiles(event) {
console.log(event.target.files)
}
</script>
Heenok