Home Page
Blue Dust Blog
Projects
Quit!
Discussions
X Seeks Y
Links
About Us!
Quit!
Retro Hacking World  Photo Album  ASP-FTP 
Small Sites  Brand New Writers  Tori Amos in Lego  QuBit 
FTP Explorer 

Visit the site!
  The Site
  
Background
...to technical

A small project to provide a nicer method of downloading files from a web site by providing an FTP-style interface.

The present version mimics a virtual directory, but has the advantage of being readily expandable, to include icons for other file types, or to add additional file information.

 
Technical
...to links

Nothing special about this project. It was written in the 'come down' period after Photo Album.

It uses the same 'directory protection' from Photo Album (to stop snoopers setting a path of '../../cgi-bin' etc, and uses the same idea of including the real code in the /aspcode/ftp directory, require only a small file to handle the FTP directory. The one in 'pub' for instance is:

' Configuration Setup
g_bSupportDir=1 ' Allow sub-directories. If concerned about security, set to zero
g_szGfxPath="/aspcode/ftp/" ' Where the graphics (for file and folder icons) stored. MUST END WITH '/'
g_szRootPath="/pub/" ' The path must be relative to this directory. MUST END WITH '/'
g_szThis="default.asp" ' Name of this file (usually default.asp). It will be ignored from the dir list

Response.Write "<HTML><HEAD><TITLE>ASP-FTP Server. Copyright 2000</TITLE></HEAD><BODY>"
FTPMain
Response.Write "</BODY></HTML>"

This makes it very easy to embed the directory listing in an existing web page.

 
Links
...to next step
Open inthisor newwindow
 
Taking it further
...to related

 
Related Projects
  Photo Album FTP Explorer