Results for "Category: Files"
This Will Display All The Files, File Size and file date of every file in the directory you specify. To make this work, paste the code into your favorite html editor, save it and then view it.
This Code when put in any directory will create a HTML page listing all Mp3's in the directory. It also creates a streaming link to the file, so anyone can stream off you MP3's from your server withour downloading them.
No need to purchase expensive components. You can do it all with what you already got. This version is an update for faster speed and reliability. Bugs have been fixed, and the entire code has been commented to walk you through the process.
Allows you to upload multiple files and fields without purchasing or registering COM objects. Great for shared hosts that frown upon 3rd Party com objects or charge an arm and a leg for them. This version uses Classes rather then the dictionary object that I have seem most other people use. Dictionary Objects seem to be flakey with more problems. I have added examples of how to upload a file to a database and the file system. A file is also included that retreives the file from the database.
Allows you to view the binary data of any file (GIF, JPG, ZIP, TXT, HTM, ASP) as if you were looking at a common hex viewer. Bytes are displayed as Hex characters and character data is displayed on the right. Starting positions of each row are displayed on the left.
Allows you to upload multiple files and fields without purchasing or registering COM objects. Great for shared hosts that frown upon 3rd Party com objects or charge an arm and a leg for them. This script provides an object oriented interface using classes for easier development. The power that this script has over others is that it does not use dictionary objects to store the uploaded files. It also harnesses the power of ADODB to prepare and save binary data to the file system with quick speeds. This is the script that you have been looking for. You can get a really good feel for how the script is used just by reading through the FAQ and examples provided. This script has been tailored to meet the requests of developers who have used previouse versions. The code is comented very well and comes along with examples of how to do common operations, as well as a FAQ. Bugs from version 2 have been fixed, or otherwise throw exceptions to the user giving them details of how to correct the problem (such as giving permission to the internet user account). Memory is managed more efficiently in version 3 that allows for more scaleablity and larger files. By the request of a few developers, progress bars are now supported to notify the user how much information has been received by the server. A website for support has also been created where you can get help from the author, other users of the script, and get any recent revisions or additional examples as they become available.
This is an update of the Thumbnail Based on files in Directory asp file. In this release, put in the same directory the small pictures ( with small_[PictureName].extension ) and the normal size ( [pictureName].extension ). The popup window which is displaying the normal sized picture will be resized automatically regarding the width & height of the displayed picture. You can integrate this function ( with the js file ) in the Tree Menu based on directory asp file. You can use the following syntax on the URL to define a specific sub-directory : /portofolio.asp?whichDir=[subDirectory_Name]
A new release of the Tree Menu Based on Directories. Some bugs has been solved, and the look is more like Windows Explorer. Thnks to Sheeja for the pictures used.
Did you ever want to search for files using your web browser instead of the MS Find Files program? This ASP file searches your hard drive (or web server) for files containing a given string. You can specify a string to search for and the directory to search in (or leave the default c:\ directory).
This script utilizes a mix of server-side ASP and client-side vbscript to provide users with the capability to navigate the directory structure of the web-server, select an image file or a document file, and then pass the file attributes back to an HTML form. If the file selected is an image... The image will be displayed to the user so they know that the selected file is the one they want. In addition... the name, width, height, and size of the selected image is collected (code snippet borrowed from Mike Shaffer on 4guys http://www.4guysfromrolla.com/webtech/050300-1.shtml) and passed back to the HTML form. If the file selected is a document... the user has the option to download and open the selected file. The name and size of the document selected is passed back to the HTML form. Additional functionality: UPLOAD IMAGE OR DOCUMENT FILES to the given directory... DELETE IMAGE OR DOCUMENT FILES in the given directory... CREATE NEW FOLDERS... DELETE FOLDERS. This code can be modified to allow any type of file to be uploaded.
This is a drawn out example of reading and writing with the FileScriptingObject. This is similar to copying a file, but allows rewriting specific line(s). It's intentionally overdone so that you can delete what you don't want. Includes extensive error handling. I've included lots of comments for newbies. 'T Runstein
I'm sorry, this entry is no longer available. Please go to http://www.FileExplorer.com for more info
****OLD VERSION**** see www.stingray.co.nz/editor or email peter@stingray.co.nz a blank email with subject "Contact Me" and you'll be contacted when the new version arrives. Allows you to edit your documents online in a friendly MS Word(tm) like interface, on a fast loading javacsript and asp powered, easy to maninpulate and configure editor. NEW! Added delete function (due to demand). See stingray.co.nz/asp for the latest updates and a full rundown of every tag, asp and javascript.
Using this code you could export data from SQL Server (or other DB) into a text file on the clients computer using pure ADO recordset, without any kind of stream or filesystem objects -"Recordset to Text File on the client". The code is not in its final version but if there is an interest I will complete it. Please, rate it and send your feedback.
This script provides simple, friendly control of the FileSystemObject of the ASP engine. Fully commented descriptions of each function. Just include this file in any script that need to access the file system.
This code will allow you to do form based file uploads. It supports multiple files and uses only pure ASP. It will parse form data, browse server folders for a save location, and log uploads or failed uploads into a database There are no components to install so it will work on any web server that supports ASP. Just paste this code into a text file and name it saveany.asp. I have tested it on IIS 4 and 5, with IE 4, IE 5 and Netscape 6. With this code you will be able to save a file in any directory that the anonymous account assigned to it (usually IUSER_machinename) has access to so be careful. I should note that the server needs ADO, ADOX and the File System Object installed on it.
This simply code, make .xls fine dinamically. You can create worksheet and report. Any feedback is appreciated.
Create a download page for your files, and log who downloads them (by capturing their IP address/DNS Host name), and count the downloads by day, week, etc
This program creates a html file in the remote server with the name, content, title as preferred by the user (Dynamic).
This is a ASP File Manager just like used by hosting companies eg: geocities.com etc. This ASP Manager has everything like : user authentication, creating directories, browsing, deleting files and folders, copy, rename etc. Please vote!