Results for "Category: Files"
This code will upload a file from a client computer to your server, give the file a new, unique name and save the new filename into a MySql database. It also checks the size of the file so you can give a maximum size for all files that will be uploaded.
This code indexs files, uploads, and deletes. PLease vote for me!
this list alls the files in a the current directory
This code allows a user to upload files and manage directories. It also allows a user to upload files, easily create HTML files online, and rename, delete, or edit files.
Import a CSV file into your MySQL database as you see fit. Discard columns, assign fixed values, auto-sequencing, simultaneous adding and updating... Happy Importing! -> The database/table double-combo selection bug has now been fixed. (v1.3a)
Creates a PHP/MySQL Script for a Simple Login System.
This script is for: - Browsing files on your server - Upload files to your server - Play media files on the server - create, move, delete multiple files and directory's - opening/downloading files - check the disk size - check the free disk space This is the newest version of the 'Advanced file manager' it is still a beta, and if you wan't the last stable version search for 'file manager' and click at 'Advanced File Manager 1.1'. You can find more info and feedback at www.afm.nl.tt , and If you wan't to mail me my mail is: feedback@afm.p3t3r.uni.cc !!!At the site you can get the latest bug fixes and betas!!! If you like the code please vote. KEYWORDS:Website admin administrator file dir browser free manager THE SITE OF A.F.M. ------> www.afm.nl.tt
This example shows a way to use the System.IO.FileSystemWatcher object.
Accessing IniFiles without the use of the Win32 API's
Reads embeded files from your executable programs (such as xml, images, etc.) Allows you to distribute one program - the exe, but still access your data and images needed with the program.
This simple program compares the file contents of two folders for similarity. It checks the latest write time, file size, and if both of those are the same, it generates a quick checkum (by adding every 100th byte) and compares that. All files are color-coded so you can see at a glance the difference between the folders. You can change the color-coding scheme by double-clicking the colors for any item in the top part of the legend. NOTE: I've left the binaries out of the zip file, so you'll have to compile yourself. Hope you enjoy, and please remember to vote (I'm just curious!) -Mark
This shows and explains how to recursivley add all files, folders, and subfolder to an ArrayList.
Save entire classes or structs at a time to an xml file, and then read them back.
This code (the first of its kind in the VB.NET section of PSC) will allow you to quickly and easily send a file over dialup, LAN or BroadBand. Works fine, and all the programs that i tested it on (from 20k to 200Meg worked fine after the transfer!) If you have a brief knowlage of file manipulation, this should be pretty simple to understand.
This code simply writes to a file on the disk, or reads the contents of an existing file on the disk into a text box.
This piece of Code watch for the changes in the specified folder. Changes may be of any kind like renaming file/folder, deleting, editing etc. Actually implemented a class of FileSystemWatcher.
Create Excel Spreadsheet without Excel automation. A port from vb6(enclosed) by Paul Squires at http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=11898&lngWId=1
This may seem simple but I didn't find anything like this anywhere and I thought I should add it so it will help others. This artitle is to show you how to send a string variable as a downloadable file in asp.net.
Using the CopyFileEx Win32 API in C#. Try my CopyEx library and please give feedback. Choose a file as a source and copy it to another place. You will have the current transfert rate in Ko/s and percentage of the file done. Very easy to use. You could implement Cancel, Stop and Continue or Thread priority options...
Ever wanted to use .config files but hesitated because you were not able to write to them? This class allows you to easily write and read from .config Files. The class works (thanks to reflection) both in debug and release mode without any changes. Because the default .config Provider will not reload any configuration without reloading the application this feature is also implemented via a filesystemwatcher that looks for changes on the app.config file. The original implementation can be found on www.angrycoder.com developed by Joel Martinez in C#. Visit www.visualsoft-net.de to download this code and much more vb.net, vb6 and c# samples