How to specify the file path in HTML Input button--Help me

  • Thread starter Thread starter vishnu
  • Start date Start date
V

vishnu

Hi,

I am using HTML input file button to browse the file and just am
updating the file name in sql server
table.But now i want to browse the file from the remote file share path
..How can i specify this path in HTML input button.Is there anyway to
open the file from the specified path instead of opening local
directory?

Thanks,
Vishnu
 
Hi,

Please let me know how can i achieve this.Is there anyother way that i
can do it.

Thanks,
Vishnu
 
I don't believe you can. Input uploads a file from the client to the
server, and sandbox security doesn't allow you to specificy the path to any
file on the clients computer. I'm sure its a restriction set out in the RFC
for HTTP Upload.

You will need to create some form of signed activeX to get around the
security limits imposed.

--
Regards

John Timney (MVP)
VISIT MY WEBSITE:
http://www.johntimney.com
http://www.johntimney.com/blog
 
Back
Top