File ListBox

Using this Server Behavior, you can put a list of files in a listbox from any directory on your site (where server permissions allow of course)
You can specify a comma delimited list of file extensions to show, and choose wether to display the file extension to the end user.

Overview


This Server Behavior is ASP/VBScript only, and you must have the correct permissions to use the FileSystemObject on the server.

v1.3 updated 12/28/01: Fixed a small bug in the .mxp package that did not allow you to use the extension.  If you are reinstalling the extension, please uninstall the old version using the extension manager.

Requirements

Type: Server Behavior
Product: UltraDev 4
Server Model: ASP VBScript

Joel Martinez

Joel MartinezJoel Martinez is one of the founding partners of <a href="www.communitymx.com">Community MX</a>. He is comfortable working with ASP.NET, Coldfusion, Javascript, XML, SQL, and several other technologies. He authored "ASP.NET Development with Dreamweaver MX: Visual QuickPro Guide" for Peachpit press and has contributed to several other publications.

You can find him slacking on on his <a href="http://www.codecube.net">blog</a> when he's not at work in the IS department of Electronic Arts Tiburon.

See All Postings From Joel Martinez >>

Reviews

XML error

December 28, 2001 by Tony Pearce

I get an 'Could not find valid XML file that refers to the current server behavior and current server model' error.

I'm using ASP but not sure about 'FileSystemObject ' ?

RE: XML error

December 28, 2001 by Joel Martinez

Ahh, Thanks for the heads up... I've uploaded a new file, so you can download it at your leisure.  Could you please post again and tell me wether the new file works? thanks.

Turns out the .xml files where looking for "File ListBox.htm" and the actual file was "file listBox.htm"
Who knew Ultradev was case sensitive ;)

Still getting error

December 28, 2001 by Tony Pearce

Hi,

Exactly the same error, made sure used new version etc, started with new page, I'm using the config switcher, will this make a difference?

Has anyone else got ot to work? if so I'll bury my head....

ok, this should work now

December 28, 2001 by Joel Martinez

ok, apparently what were dealing with here, is an overwrite issue... I guess Ultradev was trying to be extra helpful by not overwriting the mxi and mxp files correctly.

I had to totally repackage everything before it would work.  I suggest uninstalling the extension from the extension manager before downloading the new version.

Sorry about the inconviniece, and thanks for you patience and help... please write back once more with the result of this download.

See all 15 Reviews

You must me logged in to write a review.