In these directories you will find sample ASP scripts demonstrating the
capabilities of JFile.
Uploading a File |
|
|---|---|
| Simple | This example demonstrates how to place the UploadClient Applet into an ASP page. Through Applet parameters the file to be uploaded from the users local system is preset. When the user uploads the file it is posted to the URL defined in the PostURL parameter. The page which receives the data uses FileUp. |
| Last Modified Date | By setting an Applet parameter JFile will send the last modified date of the file on the clients machine. Used in conjunction with FileUp's UseLastModified property the file will be saved on the server with the client's last modified date preserved. See the Complete FileUp documentation for more details of this MIME header extension. This sample also displays the applet floating off the browser. |
| Hidden | Using Applet parameters the File and Status dialogs can be hidden from the user. |
| Form | File uploads as well as Form data can be uploaded. |
| Scripting1 | Demonstrates adding files to JFile using client side JavaScript. |
| Scripting2 | Demonstrates how to use files' fileExists, fileSize, fileLastModified properties to JFile using client side JavaScript. |
| Scripting3 | Demonstrates how to script the upload progress by client side JavaScript. |
| Error Page Supporting | Demonstrates how to script the error processing page. |
| Graphical Progress Indicator | Demonstrates how to script the upload progress bar using JavaScript |
| File Encryption/Decryption processing | Demonstrates how to encrypt uploaded files via using the TwoFish Encryption Algorithm. This example uses the SA-FileManager to decrypt files on the response. |
| Zip compression | Demonstrates the compressed upload. |
| Zip compression with extraction on the server | Demonstrates the compressed upload with extraction on the server. |
| Chinese | Internationalization sample: Simplified Chinese. |
| French | Internationalization sample: french. |
| MD5 hash | By setting an Applet parameter JFile will send the MD5 hash of the file on the clients machine. |
| Parameter writer | This allows to test the applet's parameters and to generate "ready to use" sets of parameters for it in a very simple way. |
| Browser Neutral | A sample working with Macintosh/IE and Netscape 6. This sample can be used with any supported OS and browser. |
Downloading Files |
|
|---|---|
| Simple | This example demonstrates how to use the DownloadClient Applet in an ASP page. The URL to download to the client is preset through the Applet parameters. Also preset is the path and filename of the downloaded file that should be placed on the users file system. Once the download is complete the Applet will call a confirmation page which is set through the Applet parameter FinalURL. |
| Hiding File and Status Dialogs | Demonstrates not displaying a file selection dialog or a status dialog. |
| UnZip a zip file. | Demonstrates the download and direct unzipping on the user's machine of a zip file. |
| Macintosh | A sample working with Macintosh. |
Copyright © 2001 SoftArtisans, Inc.