|
|
File Manipulation
ASP » Tips and Tutorials » File Manipulation
A D V E R T I S E M E N T
Today's Special: Get free Magazine from SAP!
File Uploading using pure ASPThis is a complete tutorial on uploading files to the server hard disk using ASP ( VBScript ). Link & Display Text FilesThis example code demonstrates how to link and display text files within a single document in ASP. Using the title of the text files as hyperlinks, when clicked the file name, the full contents of the document will be displayed. Very useful for making copybooks and file layouts available online. Displaying HTML files from your ASP pageOften you will need to display the contents of a file on your server. This article shows you what regular expressions to use to successfully display HTML, including automatically making any hyperlinks live. Import CSV to HTMLThe author writes "A CSV (Comma Separated Values file sometimes referred to as a flat file) is essentially a text file that has a comma delimiter between the table values and a unique line for each observation. While this is usually a means by which data is transferred from one database to another by itself can be used as input to an asp document." This example will show how to take virtually any CSV file and write it to an html table using ASP. Access To HTMLThis short example will allow you to dynamically create "static" html documents from an Access data on your web server using Active Server Pages. Basically after reading the contents of the db, instead of writing output to the browser it is written to the server. Walking through your sub-folders and filesInitially developed to index ASP pages for a search capability, this article gives you a generic function to walk through your sub-folders using the FileSystemObject. Also discusses recursion and passing functions as parameters.
FileTraXerKeep track of clicks on files downloaded from your site. Easily add files to the database. Update Names associated with the file. Function to show clicks for all files included. Uploading Images using HTML and ASPThis step-by-step 5-page tutorial teachs you how to allow image uploads to your site, using standard HTML and off-the-shelf ASP extensions. Understanding File UploadBuilding an upload file mechanism on a Web server can often require using a costly DLL. Tiago Halm's article shows you how to upload a file using only Active Server Page (ASP) code and Internet Explorer. Sample code is provided.
Downloading Files with VBScript and ASP - FreeSetting up a simple file downloading system with VBScript and ASP is no sweat. The primary use for a system like this is to allow downloading of any TEXT based file that would normally be served via a client's browser and be unable to be downloaded. A secondary use is to allow download access to directories outside the public server space or a hidden directory within the website. This tutorial shows you how. Full source code available. ASP File Upload using VBScript - FreeThere are several components on the market that allow your ASP application to handle file uploads. This article does not intend to replace those. There are times, however, that deploying a custom COM object is not possible. This article will show you how to write a VBScript class to handle file uploads. Filearchive - FreeThis tutorial shows you how to create a file archive on your site using the built-in File Access Component. You can easily customize how yout page looks. Full source is available for download. Building an ASP File Manager - FreeThis article describes how to build a very powerful, potentially destructive application using the File System Object. It should never be implemented in a production environment without ensuring that proper security precautions have been taken to maintain the integrity of the data contained on the web server. File Access TutorialThis tutorial demonstrates how to use the FileSystem object to view the contents of a server directory. It could easily be modified into a navigation or file-download application.
|
A D V E R T I S E M E N T
|
Subscribe to SourceCodesWorld - Techies Talk |
| |
|