DPChallenge: A Digital Photography Contest You are not logged in. (log in or register
 

DPChallenge Forums >> General Discussion >> web building question
Pages:  
Showing posts 26 - 28 of 28, (reverse)
AuthorThread
07/16/2003 05:10:00 PM · #26
Originally posted by roleychiu:

Originally posted by Gordon:



Can you explain how to do script access to the filesystem ?


Javascript can access the file system for IE4+ through filesystemobject and activeX objects. You'll be accessing your own filesystem, so you can ignore the warning that pops up saying a malicious script is trying to access the system. Alternatively you can uncheck the option to prompt for activex script prompting and you'd avoid the warning

Here's a primer:
//www.webreference.com/js/column71/

The filesystem objects and functions can give you the directory information you require.

Any questions let me know.


So that works for the file if it is on a CD, but not on a server, right ? And also I guess only on a PC and not on a Mac ?
07/16/2003 05:33:05 PM · #27
Originally posted by Gordon:

Originally posted by roleychiu:

Originally posted by Gordon:



Can you explain how to do script access to the filesystem ?


Javascript can access the file system for IE4+ through filesystemobject and activeX objects. You'll be accessing your own filesystem, so you can ignore the warning that pops up saying a malicious script is trying to access the system. Alternatively you can uncheck the option to prompt for activex script prompting and you'd avoid the warning

Here's a primer:
//www.webreference.com/js/column71/

The filesystem objects and functions can give you the directory information you require.

Any questions let me know.


So that works for the file if it is on a CD, but not on a server, right ? And also I guess only on a PC and not on a Mac ?


Yeah, ActiveX is not the way to go. It's a dead code. Only works for IE and Windows. As you've already figured out, what you want to do can't be reasonably done using only client-side.
07/16/2003 11:11:00 PM · #28
yup
Pages:  
Current Server Time: 04/23/2024 09:45:12 PM

Please log in or register to post to the forums.


Home - Challenges - Community - League - Photos - Cameras - Lenses - Learn - Prints! - Help - Terms of Use - Privacy - Top ^
DPChallenge, and website content and design, Copyright © 2001-2024 Challenging Technologies, LLC.
All digital photo copyrights belong to the photographers and may not be used without permission.
Current Server Time: 04/23/2024 09:45:12 PM EDT.