Wrox Programmer Forums
|
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 11th, 2007, 08:39 PM
Authorized User
 
Join Date: Jan 2007
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default open a folder.

Is it possible to open a folder to view its content from a web browser?
What I'm trying to do is write an app, where the user is on a web page and they click a link to open a folder with their photos stored in it.

Is this not allowed due to security, do I have to write shell script or ActiveX control?

Thanks

 
Old January 11th, 2007, 10:11 PM
Wrox Author
 
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

You can display all the files in X directory and write them out to the user but you will have to grant permissions on the folder to do so.

-------------------------
I will only tell you how to do it, not do it for you.
Unless, of course, you want to hire me to do work for you.

^^Thats my signature
 
Old January 12th, 2007, 04:33 AM
Friend of Wrox
 
Join Date: Oct 2003
Posts: 479
Thanks: 0
Thanked 3 Times in 3 Posts
Send a message via MSN to surendran Send a message via Yahoo to surendran
Default

hi dparsons,
i am also looking same, do you have any code?

surendran
(Anything is Possible)
http://ssuren.spaces.msn.com
 
Old January 12th, 2007, 09:36 AM
Wrox Author
 
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

Show me what you have so far and what problems your current code base is giving you and I will try to help you get it working.

-------------------------
I will only tell you how to do it, not do it for you.
Unless, of course, you want to hire me to do work for you.

^^Thats my signature
 
Old January 12th, 2007, 08:54 PM
Authorized User
 
Join Date: Jan 2007
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Let me be a little more specific.
I have an ap that takes coordinates from a gps database, uses VBScript to wrap them in XML and them displays the point on Google Earth with other info in a placemarker from the DB.

Is it possible to have a link in the placemarker that would open the folder where the user has stored all their picts from this coordinate point. I've tried all the HTML/Javascripty things and it will open an actual file but not just the folder. I was told this was a security risk and most browsers/GE wouldn't allow it.

 
Old January 13th, 2007, 09:32 PM
Wrox Author
 
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

Ohhh your trying to open a physical directory on the user's PC so they can look at the contents. Ya that is a huge security thing you will probably have to write an activeX/COM control to do this.

-----------------------------------------------------------
I will only tell you how to do it, not do it for you.------------
Unless, of course, you want to hire me to do work for you.---
^^Thats my signature--------------------------------------
-----------------------------------------------------------
http://www.catb.org/~esr/faqs/smart-questions.html -------
^^Took that from planoie's profile--------------------------
-----------------------------------------------------------
 
Old January 14th, 2007, 01:05 PM
Authorized User
 
Join Date: Jan 2007
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I was pretty sure that was the case, thanks for clarifying.

 
Old January 16th, 2007, 01:42 AM
Friend of Wrox
 
Join Date: Oct 2003
Posts: 479
Thanks: 0
Thanked 3 Times in 3 Posts
Send a message via MSN to surendran Send a message via Yahoo to surendran
Default

hai,
i have got a sample site for this, have a look :)
http://autoindex.sourceforge.net/demo/
http://autoindex.sourceforge.net/



surendran
(Anything is Possible)
http://ssuren.spaces.msn.com





Similar Threads
Thread Thread Starter Forum Replies Last Post
Assigning a toolbar button to open public folder Arsi BOOK: Professional Outlook 2007 Programming ISBN: 978-0-470-04994-5 2 December 13th, 2007 05:08 PM
Need to open a browse folder x2pca Visual C++ 0 July 10th, 2006 02:27 PM
Making a folder virtual folder on button click in CsharpHelp C# 0 October 26th, 2005 05:57 AM
Cannot open folder in VS 2005 solution project digi_digo VS.NET 2002/2003 0 August 31st, 2005 02:44 PM
Open dialog box to a particular folder ja8261 Excel VBA 1 January 14th, 2005 03:52 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.