Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

adding java stream/file to a file input object 1

Status
Not open for further replies.
Dec 14, 2011
25
PT
hello,

I have an html file object to browse local files. In some moments I would like to disable this object and fill it directly with a javascript file/stream. If this possible?how? If not, is it possible to point it to a file share in the localnetwork?

thank you
 
Programmatic alteration/modification of the file element is not possible due to security reasons. If it where anybody could simply target a file in anybody's computer for upload without their knowledge.

You can however browse to a network location through the element as long as its available to the client PC.




----------------------------------
Phil AKA Vacunita
----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.

Web & Tech
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top