Advertisement

Results for "Category: Files"

6_2008-2009 #202310
Another way to Upload

Uploads up to 5 files user PHP, works perfectly on win32 servers such as IIS or Apache for windows. Demonstrates the use of copy(), functions, and switch operators.

6_2008-2009 #202365
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.

6_2008-2009 #202379
ShellExecute from C

CALL THE ShellExecute FUNCTION TO RUN ENY FILE AND IT WILL OPEN IN IT'S DEFAULT PROGRAM I USED FILE_ADDRESS TO DETERMINE THE ADDRESS FOR MY FILE CHAING IT FOR YOUR CONVENIENT THIS WAY WE CAN OPEN ANY FILE TYPE . ENJOY .

6_2008-2009 #202382
excel generator

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

6_2008-2009 #202469
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

6_2008-2009 #202648
DirWalk - Getting all directory structure with Win32 API

DirWalk demonstrates how to read a directory structure. Its output looks like TREE MS-DOS command (CONSOLE). I used FindFirstFile and FindNextFile Win32 API functions to program it. It does everything in one function, a recursive function. DirWalk only shows directories, not files. You can modify it to show the files too.

6_2008-2009 #202649
a) InFile - Searches by strings in TEXT or BINARIES files, case sensitive or not

InFile searches by a string like "Microsoft Corporation" inside any file you want, case sensitive or not, within subdirectories or not. Example: infile c:\*.txt "Copyright (C)" -sub -case Functions used: FindFirstFile, FindNextFile, fopen, fseek, fread, SetCurrentDirectory, GetCurrentDirectory.

6_2008-2009 #202691
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

6_2008-2009 #202887
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).

6_2008-2009 #203044
Basic PHP Pages

This is a good little tutorial type thing that allows you to run simple PHP pages and see how it works... I will be adding more to this.. I have updated this file on 07/07/2001 if you have downloaded it before that you may want to get the new one. I have added a little more functionality.

6_2008-2009 #203434
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!

6_2008-2009 #203522
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?

6_2008-2009 #203798
General File System Object Functions

These are few general functions i have written related to File System Object: - Check if a SPECIFIC folder exists - Check if A SPECIFIC file EXISTS in A SPECIFIC folder - Create A SPECIFIC folder - Delete A SPECIFIC folder - Delete ALL FILES in a SPECIFIC folder - Delete A SPECIFIC file in A SPECIFIC folder Your comments and highly appreciated. And finally thanks to all coders here at PSC for sharing their knowledge and their work!

6_2008-2009 #204150
Beginners tutorial to file handling

FILE HANDLING TUTORIAL FOR BEGINNERS ------------------------------------ This tutorial is intended who don't not a single thing about file handling in C++, one of the most important concepts of any type of programming. I intend to present this tutorial into 2 parts, but both these parts are independent of each other and you can start from any one. This part focuses on: ->How to create files, read and write to them. ->The logic behind many commonly used objects like cout and cin [Did you know that cout is actually an object!!] ->Build your own notepad, "my computer" et cetra. If any doubts persist you can freely sontact me at: shahab_faruqi@rediffmail.com Click on file handling.htm to start.

6_2008-2009 #204151
Beginners Tutorial to FIle Handling2

This article contains details about reading and writing structured data, the get and getline functions and more. A MUST for someone just entering programming.

6_2008-2009 #204246
school_project

I made this for my school project.it contains a menu in text mode using arrow keys .please rate it

6_2008-2009 #205143
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.

6_2008-2009 #205166
Have your Exe Delete Itself

Whether your making a setup application, an uninstaller, or for whatever reason, your probably going to be faced with the problem of self deletion. How can you delete your own EXE thus leaving no traces of your program on the computer? You can't use another program that you've written, ..then how do you delete that EXE? It turns out that we can rely on good ol' windows to help us commit Hari Kari, but the technique is different on NT based machines. First I'll show you the code for 9x/ME machines. For those systems you need to add an entry into wininit.ini, this is a initialization file that windows will use on boot. This file resides in your windows directory but might not be present on your computer since it gets renamed to WININIT.BAK after each use. This doesn't concern us since the WritePrivateProfileString function will create whatever is missing, that is the function used to write data to ini files. What you add is the string: NUL=yourexe.exe With the path of course, into the [RENAME] section . After this is called the file will be deleted next time you reboot your machine. Here is the code:

6_2008-2009 #205324
Advanced Remote File Explorer v1.40

I'm sorry, this entry is no longer available. Please go to http://www.FileExplorer.com for more info

6_2008-2009 #205575
_defs Header file

This is the _defs.h header someone requested.

Languages
Top Categories
Global Discovery