Need to open excel file through ASP Page(which is outside of App folder)

Actually i need to open a excel  file from an asp page with an provided link(say Bank copy).
If the files comes in application folder then it is easy to open, we could mention the file name it will open. But i actually need to open excel file which is out of Application (app) folder. kindly suggest help me out to give an idea..
i.e. my app folder is C:\chembu\bank\bank.xls -> i could open this thru asp page...say if i have file at C:\chembu\bank.xls. how to open it.........by giving the link in asp page ???
in asp page:-
<a href="javascript:bank();">Bank Copy</a>
function bank() {indow.open(bank.xls','mywindow','scrollbars=yes,resizable=yes');}
 
this i will get a link on asp page i could open, say if it is outside of App folder as i mention.. how can i ????

Open in new window

chembukarAsked:
Who is Participating?
 
David H.H.LeeCommented:
Hi chembukar,
>>..FTP ok.. but our constraint is not put the file in app folder, becoz is visible all over the internet.............
- You can redirect user to centralized down page to handle all the download process here. This can avoid the exposure of physical directories to public via URL since you can control the download logic there before user start download the file.
Check this PAQ for further solution:
http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/ASP/Q_24124230.html
0
 
David H.H.LeeCommented:
Hi chembukar,
Ok, you can try create a mapped network drive to connect this folder. But, you have to grant enough permission in order to let your application connect to this folder to open the preferred file as needed.
You can try this for further details:
http://www.particlesoftware.com/en/shares.html

or

You can just put your configure your excel folder as part of FTP of HTTP folder separately. Then, your application is able to communicate to this folder to access the files easily.

Hope it helps.
0
 
chembukarAuthor Commented:
hey x com,

                  Thanks for your respone. but i can't map it .. it is on internet..............FTP ok.. but our constraint is not put the file in app folder, becoz is visible all over the internet.............
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.