Is it possible to remember the filename from a fileupload field and then later launch that file via

Posted by Pieter Breed on Stack Overflow See other posts from Stack Overflow or by Pieter Breed
Published on 2010-03-31T11:22:02Z Indexed on 2010/03/31 11:33 UTC
Read the original article Hit count: 311

Filed under:
|
|

I have a HTML file upload field from which I'm reading the file name of the file that the user specifies. The actual contents of the file is never uploaded.

At a later stage, is it possible to construct a link using this file name information so that if the user clicks on this link, the original file is launched into a new browser window? If not, what are the reason for disallowing this behaviour?

The purpose of such a feature is to store links to documents that are available on a mapped local drive or a network share.

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about html