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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

I want an alternative way to upload files instead of <input type=file>

Status
Not open for further replies.

bartdepiraat

Programmer
Jan 21, 2007
2
0
0
NL
Hi,

On my website I want to create a form that uploads all jpg files from a directory on a local machine.
I wrote a javascript that retrieves all filenames from the dir.

The problem is that I cant define the value of a <input type=file> tag.
I want to try uploading the files with ActiveX but I don't know how to do that.

I already have a javascript string that contains the path and filename now the only thing I need is a line to opload this file.

Thanks for your help
 
The problem is solved without the use of an ActiveX control.
thank you.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top