Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old January 11th, 2007, 08:39 PM
Authorized User
 
Join Date: Jan 2007
Location: Minneapolis, Mn, USA.
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

Reply With Quote
  #2 (permalink)  
Old January 11th, 2007, 10:11 PM
Wrox Author
Points: 13,255, Level: 49
Points: 13,255, Level: 49 Points: 13,255, Level: 49 Points: 13,255, Level: 49
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2005
Location: Ohio, USA
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
Reply With Quote
  #3 (permalink)  
Old January 12th, 2007, 04:33 AM
Friend of Wrox
 
Join Date: Oct 2003
Location: colombo, WP, Sri Lanka.
Posts: 481
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
Reply With Quote
  #4 (permalink)  
Old January 12th, 2007, 09:36 AM
Wrox Author
Points: 13,255, Level: 49
Points: 13,255, Level: 49 Points: 13,255, Level: 49 Points: 13,255, Level: 49
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2005
Location: Ohio, USA
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
Reply With Quote
  #5 (permalink)  
Old January 12th, 2007, 08:54 PM
Authorized User
 
Join Date: Jan 2007
Location: Minneapolis, Mn, USA.
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.

Reply With Quote
  #6 (permalink)  
Old January 13th, 2007, 09:32 PM
Wrox Author
Points: 13,255, Level: 49
Points: 13,255, Level: 49 Points: 13,255, Level: 49 Points: 13,255, Level: 49
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2005
Location: Ohio, USA
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--------------------------
-----------------------------------------------------------
Reply With Quote
  #7 (permalink)  
Old January 14th, 2007, 01:05 PM
Authorized User
 
Join Date: Jan 2007
Location: Minneapolis, Mn, USA.
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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

Reply With Quote
  #8 (permalink)  
Old January 16th, 2007, 01:42 AM
Friend of Wrox
 
Join Date: Oct 2003
Location: colombo, WP, Sri Lanka.
Posts: 481
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
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 01:53 PM.


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