tags:

views:

940

answers:

4

Any alternate thing in javascript to make a file upload control ?

+13  A: 

Here are a few alternatives:

CMS
+1 for SWFUpload - it is a great utility
scunliffe
+1  A: 

As far as I know there is no possibility to upload a file with pure JavaScript. You alway need some like a swf movie or a java applet (probably it will also work with a silverlight app). If you do not like to write your own, use one the existing ones from the last answer (http://stackoverflow.com/questions/408735/javascript-file-uploads#408736).

Hippo
A: 

Hey all

actually the problem was, i am creating file upload control dynamically using htmlwriter, and when i use request.form[fileuplodctrl].tostring() , i am getting only the file name not path...

can any one suggest me any other ways to get full file path :)

Kishh

Kishh
A: 

Kishh, that isn't accessible. I think it has to do with privacy concerns for the user uploading the file.

Evan Fosmark
Hey Evan i asking how to access the file path from javascript in Mozilla :)
Kishh