I made a script which uploaded but also had a link to the file on the local hard drive. So, I made this javascript function:
<script>
function getPath(which) {
document.send.filepath.value = which.value;
}
</script>
It sets the value for "filepath" (a hidden field) in form "send" to the value of the file search. Otherwise, there's no way to check what the file path is, as it only sends the name.
Hope this helps. You'll have to parse filepath later, though.