|. I am getting C:/Fakepath/filename.txt when trying to upload a file in Chrome 8.||VivekVishal||1/6/11 3:46 AM|
Google Chrome version (type about:version into the address bar):Operating System:Error Message:Extensions installed:
Please describe your question/comment in detail (for example, steps to reproduce the problem):
I am getting C:/Fakepath/filename.txt when trying to upload a file in Chrome 8. It was not seen in previous versions.
Is there any solution to this.
|Re: . I am getting C:/Fakepath/filename.txt when trying to upload a file in Chrome 8.||ewantodd||2/4/11 7:35 AM|
It makes no sense to a linux user, does it? What's C: ? Why are the path separators reversed? I have no 'fakepath' directory on my box!
Seems like W3C is to blame.
It's a misguided attempt to compensate for legacy apps (router firmware web interfaces, mainly, it seems) that expect a full microsoft-style path. It is an obvious misstep, IMHO. I hope we don't have to live with it for the next 20 years. Maybe we should tell W3C to back that proposal out before it's too late.
|Re: . I am getting C:/Fakepath/filename.txt when trying to upload a file in Chrome 8.||mikagami||2/23/11 2:06 PM|
I am also having this problem, using Chrome 9. I am trying to upload documents for a job application through my state's online application service, and I am unable to upload because it doesn't recognize the c:/fakepath thing. I haven't found any setting to change it. I know in IE you can alter it under security settings. I have been unable to find a comparable setting in Chrome. Is there any solution for this yet?
|Re: . I am getting C:/Fakepath/filename.txt when trying to upload a file in Chrome 8.||eCommIT||3/12/11 2:16 AM|
The error is usually faced by people using Internet Explorer 8 (IE8).
You can resolve this through any one of the following 3 ways:
1. In IE8, Change Security Settings:
Internet Explorer>Tools>Internet Option>Security>Custom
Find and Enable the "Include local directory path when uploading files to a server"
(it is quite a ways down)
2. In IE8, Add the site to your Trusted Sites:
Tools>Internet Options>Security>Trusted Sites>Sites
3. Create a folder named "Fakepath" in C: & copy your xml file in that folder.
According to the HTML5 specifications, a file upload control should not reveal the real local path to the file you have selected, unless it is a trusted site. This is already implemented in IE 8 and since the site is not added to your "trusted sites", it gives the error.
I would suggest use option 3 in the meantime, I will figure out solution in Chrome to Option 1 and 2 above.
|Re: . I am getting C:/Fakepath/filename.txt when trying to upload a file in Chrome 8.||Ogregod||9/13/11 4:06 AM|
|Re: . I am getting C:/Fakepath/filename.txt when trying to upload a file in Chrome 8.||veesree||9/29/11 3:03 AM|
ecomIT answer is very helpful to me. thanks a lot.