SA-FileUp Samples

 

With the SA-FileUp distribution, there is a hierarchy of directories that contains many samples demonstrating the extensive capabilities of SA-FileUp.

Please see the DEFAULT.HTM in that directory.

To install the samples, copy the /safileupsamples directory tree to a location on your web server. Using Internet Service Manager (IIS3) or the Microsoft Management Console (IIS4), add a virtual directory that has both read and execute permission. Also make sure that the default document is "default.htm".

Here is a list of samples contained in that directory.

Uploading a File

 Simple A simple file upload with error checking.
 Intermediate File upload with other form elements.
 TwoFiles Upload two (or more) files in a single form.

 

Uploading to a Database

 Please see the Database Setup Instructions before using these database samples.

 Simple A simple file upload to a database with error checking.
 Intermediate File upload to a database with other form elements

 

Downloading from the Server

 Simple Download of a MS Word document that will launch Word using both Navigator and Internet Explorer.
 SaveAsDialog Download of the same MS Word document. Rather than launching Word, the user will be prompted with a "Save As" dialog box. Unfortunately, it is not possible to pre-fill the name correctly in Internet Explorer at this time.
 SimpleDatabase Same as the Simple Download example, but the source of the file is contained in a binary column in the UPLOAD.MDB database.

 

Miscellaneous Samples

 SaveBinaryAs This method takes the HTTP Post stream and saves it to the specified file. This could be used in conjunction with an external MIME decoder, to diagnose specific browser problems, or to learn more about the internals of HTML forms.
 DeleteUpload Delete The Uploaded File after it has been saved.
 DeleteAny Use SA-FileUp to delete files from the web server. Use with caution!

Do you have ideas for other sample files that you would like to see?

Please let us know! Send your requests to info@softartisans.com

Copyright © 1997 Software Artisans, Inc.