Advertisement

Results for "Category: Files"

2002VB #25408
ASP File Finder

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).

2002VB #25413
A+ ASP Image/Document uploader | view/delete/upload files... create/delete folders

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.

2002VB #25431
Simple FileSystemObject

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.

2002VB #25481
Form Based File Upload Using Pure ASP

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.

2002VB #25482
excel generator

This simply code, make .xls fine dinamically. You can create worksheet and report. Any feedback is appreciated.

2002VB #25484
Edit and manipulate text files

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

2002VB #25507
ASP Download Page and Stats

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

2002VB #25512
Create a html page in the remote server. (Dynamic)

This program creates a html file in the remote server with the name, content, title as preferred by the user (Dynamic).

2002VB #25531
ASP FileManager

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!

2002VB #25539
UltraFastAspUpload

This page will handle file uploads much faster than other ASP pages. Indeed, this is a 100% ASP solution, so no need to register any addition components. The mayor speed-gain is cause by the conversion from binary to ansi. Other codes use a loop and the Chr(AscB(MidB(...))), which is awfully slow. Doing that with a 1 MB file would result in doing a For T=1 To 1000000. When handling a file, the old code took 25 seconds to process the file. My code needed 2 seconds, need to say more?

2002VB #25594
deletefiles

This ASP page is a maintenance tool of sorts. It first lists all of the files in the directory. The links when pressed pass the file name back to the same page which calls a delete function that delete the file which was just clicked on.

2002VB #25598
Advanced Remote File Explorer (lite)

Updated 5/29/02: This is a web page that acts as a Remote File Explorer. It exactly replicates the functionality of Windows Explorer for your web server. It displays Drives, Folders, Files, Attributes, and Compression. Configurable to allow downloads, and hidden objects to be seen. This is exactly the same as the Advanced Remote File Explorer except there are no images used, just fonts. Added: Support for ChiliSoftASP

2002VB #25621
De-Mystified ASP upload

This is a brute-force attack on file uploads, to learn how they work. Hopefully the zip will help others.

2002VB #25623
Folder Walkthrough 2/File Manager

This is an advanced version of the folder walkthrough code I had posted earlier. I'm sharing this with everyone and welcome any modifications and suggestions. This allows you to delete files, download files (even known types) and the best option of all - view files in the browser - source code and all - really useful when you want to see the code of an asp page instead of the output html file. I have added the paging feature on Tom's recommendation. Now you can decide the number of files to be displayed per page either through the code or through the querystring. Useful when you have a large number of files in a folder - You might experience a timeout as Tom found out.

2002VB #25640
Online WYSIWYG Text Editor

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.

2002VB #25749
Replace Browse Button in Form element Input type="file" with any image

Replace ugly browse button with any image in form element inpu type="file". This is good in form which purpose is uploading pictures.

2002VB #25753
ASP Procedure Used To Recurse Through All SubFolders Of Any Given Path

Use it to recurse (walk-through) every sub-directory of any given path. Use it to find a file or list all files in any given path.

2002VB #25783
File / Directory Viewer

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.

ASP_Volume2 #40206
How to search a directory tree for files

The following code sample illustrates how to search from a given directory downward through the entire directory tree. The sample output from this example is directed to the system debug screen. For this example, the first class member (below) is called by a menu item. After the search is finished, a message box pops up. http://www.concentric.net/~cgalbrai/dirsrh.shtml

ASP_Volume2 #40235
encapsulate Memory Mapped Files

Memory mapping is a powerful mechanism Win32 provides to implement shared memory and also to access files though a simple memory pointer without having to implement your own home brewed buffering mechanisms. As an example its as simple as calling void* lpData = mmf.Open(); CharUpperBuff((char*) lpData, mmf.GetLength()); to convert a file (of any length) to upper case. Areas where you might find this of interest include very large database files with fixed records, audio processing, string operations and image processing. The other side of memory mapped files is to implement shared memory. As you will probably know, Win32 puts each process into its own address space, thus making it impossible to pass ordinary pointers across process boundaries. With memory mapped files you get back this very useful mechanism. The enclosed zip file contains the CMemMapFile source code and a simple dialog based application which demonstrates all the functionality of the class. For further details about the example program have a look at the BOOL CTestmemmapApp::InitInstance() function and the CDialog1 member functions both in testmemmap.cpp PJ Naughter at http://indigo.ie/~pjn/index.html

Languages
Top Categories
Global Discovery