Be the first to write a review
Creating a File Management System with File Genie Support
In this article Patrick will show you how to built a simple File Management System in ASP using File Genie and Pure ASP Upload 3. He will first take you through the steps of creating a basic structure in which the information will be displayed and where the navigation will take place. Next he will walk you through creating a form for adding files.
To end this article Patrick will show you a couple of possibilities for adding extra options to this basic File Management System.
Creating the Folder List
The left column named Folder List will be filled with an overview of folders that are inside a main folder. In this tutorial the main folder will be named media.
- Start the Folder List Server Behavior under Bindings, Folder List.
- Enter the name for your first Folder List. This tutorial uses the name Folders.
- Select the main folder that contains all the subfolders to display. In this case media.
- Enable the checkbox Include Folders. This will make sure that only the folders in the main folder will be shown.
- Click OK to apply the Folder List Server Behavior.
- A message box will appear to tell you that the file incFSClass.asp has been copied into your site ScriptLibrary directory.
- Click OK. The new Folder List will appear in the Bindings panel.
- Make sure your cursor is inside the empty table in the bottom right cell below the words Folder List.
- Open the Folder List named Folders from the Bindings panel, select Name and click Insert.
The Folder Name has now been added to the table. This would only show the first folder in the Folder List. To make sure all the folders in the main folder are shown, the Folder List Repeater needs to be applied.
- Select the <TR>-tag in which the Folder Name has been placed.
- Open the Folder List Repeater under Server Behaviors, DMX Zone, File Genie, Folder List Repeater.
- Make sure the Folder List named Folder is selected in the Folder List Name field. Because there are no other Folder Lists, this has to be set automatically.
- Select All Records for the number of records to show.
- Click OK.
Now save and upload the file. Also upload incFSClass.asp from the ScriptLibrary to your live server. Preview the result in your browser.
Patrick Julicher
Patrick started developing websites at the age of 25, only using HTML and building simple websites. Through the years his passion for designing and developing grew, and his career moved in that direction in the year 2004, when he decided to try and get a job in ICT and Web Development.
He got this chance at WE ICT, based in Nijmegen, The Netherlands. For the first couple of years he combined network management for customers with creating database-driven websites in ASP. Since 2008 his main work is on the developing part.
While ASP is still his favorite language, he's slowly trying to dive into ASP.NET and discover all of the possibilities.