|
Rank: Member Groups: Member
Joined: 9/2/2008 Posts: 14
|
Hello Team,
I am using Eo web Menu 2010 (8.0.46.2)
I Need to get full Path Name from the AJAXUploader to store the Actual path into the database. Please let me know.
Thanks Patrick
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
There is no way to do that. Most modern browsers DO NOT pass the actual path to the server at all for security reasons. The idea is user has only chosen to send a file to you, as such the only information you can collect is the file and the file name. Where the file is actually stored on the user's computer might be something sensitive and you should not be able to have access to that as a server application.
Thanks!
|
|
Rank: Member Groups: Member
Joined: 9/2/2008 Posts: 14
|
Hi, Thanks for your quick reply.
But in my application people can upload to Server or they can prefer to choose only in Local Path. Is there any other way to easily get the local path from client Side?
Thanks
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
Can you explain what you mean by "they can prefer to choose only in local path"?
Thanks
|
|
Rank: Member Groups: Member
Joined: 9/2/2008 Posts: 14
|
"they can prefer to choose only in local path" that means Users just select the File but I shouldn't upload the file instead I should store the file full Path.
Time being I solved the problem only in Internet Explorer(adding site to Trusted Zone). But for Firefox and Chrome there is no solution.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
That's why we told you that there is no way to do it. Those browsers don't give you the full path no matter what. IE used to give you the full path but since IE 8 it gives you a "fakepath" by default. It is very apparent that all browsers are trying to make sure you do NOT get the full path information and the trend is that it will only be betting more and more secure in future browser releases. So I would not believe it's a good idea for you to go against this trend and insist that you have to get the full path ---- if the browser don't want to give it to you and your app runs on the browser, then you won't have it. Thanks
|
|