Results for "Category: Files"
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!
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?
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.
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
This is a brute-force attack on file uploads, to learn how they work. Hopefully the zip will help others.
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.
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.
Replace ugly browse button with any image in form element inpu type="file". This is good in form which purpose is uploading pictures.
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.
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.
Get .exe file header info
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
Copy a file from a LAN to UNIX and vice versa.
This code shows the size of any given file in bytes,K/bytes and M/bytes....
My code Merges two Files together and puts them into a single file.It is a windows proggie but the code will also work under dos or other os's.PLEASE VOTE!
Generic structure disk file manipulations. These functions form a basic template for reading and writing structures to a sequential file. This template is probably most useful for files with 500 or less records and eliminates the need for a more elaborate file handler such as C-Tree, DB-Vista, Mix etc. Routines to put data in the struct is out of scope here. Written by Lynn Nash 8/28/91 and donated to the public domain.
This is a slightly more advanced topic than what I have covered so far, but I think that it is useful, and I think it will be useful to many people. File i/o is basically reading, and writing files. This lesson will only cover text files, that is, files that are readable through a text editor, as opposed to binary files(exes for example). It will not cover a great deal, for example, this lesson will not deal with searching files or reading specific data from files. It will merely be concerned with opening, writing, and reading text files. Don't worry though, lesson 11 will cover much more on this topic.
This program allows you to find a file or a directory in a specified drive (e.g. your hard disk, a floppy, your cd-rom...). It search for it in all the directories you have in that drive. Click Luke to go to my Web Page: other source code available...