How can I use the ‘$.ajax()’ technique, to provide the url parameter with a location outside the project(let’s say the file is on the desktop). How can i do that ?? I know how to do it only in the same location of the project..
Thanks alot
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can not bypass the website and access the files out side it as it could harm the machine hosting the website, but you can access files outside the website through you website.
folders outside you website folder and access it through virtual directory.
Suppose you have website folder d:\websites\TestWebsite and you want to access files within d:\Data\Testfile.txt, make a virtual directory in side TestWebsite pointing to d:\Data and access files within it through virual directory.
2 You can also make a function that lies in some webpage/webservice and access the files outside the website.