Click to See Complete Forum and Search --> : Help with fileaccess


hello_friends
06-07-2006, 10:13 AM
Hi Guys!

I need some help with java scripts. I am trying to access a file through a html page which is in the same folder as the html page, by giving its relative url. But it searches for it on the desktop and throws a filenotfound error. I can give the complete url, but I want it to work on any desktop.

Please advice.

Natdrip
06-07-2006, 04:58 PM
you'll need a server side language for this.

the html tag is this

<FORM METHOD="POST" ENCTYPE="multipart/form-data" ACTION="somesortofuploadingpsge.asp,php,aspx,jsp...etc">
<input type="file">
<INPUT TYPE=SUBMIT VALUE="Upload!">
</FORM>