In this hierarchy of directories you will find many sample ASP scripts demonstrating the extensive capabilities of SA-FileUp.
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. |
Rename | Upload a file. If the file with that name already exists on the server, place the uploaded file in a temporary, unique location and then ask the user to rename or cancel the upload. |
Multi-select | Shows how to handle selection boxes with multiple select values in a sub-collection. |
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. |
Framed Sample | Shows how to start a download and send a "Thank You" message at the same time. Since the web functions by single request / single response, the only way to send back a message concurrently with a download is to use HTML Frames. |
Visual Basic Web Classes Sample | |
---|---|
Readme | Demonstrates how to use SA-FileUp from within Visual Basic 6.0 Web Classes. |
File Manager General Samples | |
---|---|
DirWalk | Walk a single directory and show file information. |
Recursive DirWalk | Walk a complete directory tree |
DeleteAny | Use SA-FileManager to delete files from the web server. Use with caution! |
Drives | Show information about all drives. |
File Manager Security Samples | |
---|---|
Simple | Pick a file and show the owner. |
Add ACE | Add an Access Control Entry (ACE) to the Access Control List (ACL) of a file. |
Revoke ACE | Revoke (remove) an Access Control Entry (ACE) of a file. |
Logon User | Access protected resources using Logon User. |
File Manager Encryption Samples | |
---|---|
Encrypt | Encrypts a file |
Decrypt | Decrypts a file |
File Manager .INI File Manipulation Samples | |
---|---|
Ini | Demonstrates Ini functions |
File Manager File Content Samples | |
---|---|
TextStream | Shows Creation, Reading, Writing of text file. |
Unicode TextStream | Shows Creation, Reading, Writing of Unicode text file. |
TextStream Properties | Displays TextStream Properties when reading in a text file. |
Unicode TextStream Properties | Displays TextStream Properties when reading in a Unicode text file. |
BinaryStream | Sample which reads in a Gif from the file system. |
File Manager Importing/Exporting Database Blobs | |
---|---|
Please see the Database Setup Instructions before using these database samples. | |
Import | Imports a Database Blob into a file. |
Export | Exports a file into a Database as a Blob. |
File Manager Visual Basic Samples | |
---|---|
Readme | Demonstrates various FileManager methods and properties in Visual Basic. |
Sample Applications | |
---|---|
Trivial Document Manager | This is a very simple document management system. It shows how to upload files, store a password associated with a file in a database, and then download using that password. This sample uses the same database as the other samples, so please see the Database Setup Instructions before using it. |
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. |
SoftMail | Use SA-FileUp to add a single client-side attachment to web-based e-mail. This example uses ServerObject's ASPmail, but you can substitute any ASP-compatible e-mail client. |
SoftMail2 | Use SA-FileUp to add two or more client-side attachments to web-based e-mail. This example uses ServerObject's ASPmail, but you can substitute any ASP-compatible e-mail client. |
Copyright © 1997, 1998, 1999 Software Artisans, Inc.