The net's largest PHP, CGI, Perl, JavaScript and ASP script collection and resource web portal
  New Listings
New Listings
Most Popular
Most Popular
Top Rated
Top Rated
Discussion
Discussion
Link to Us!
Link To Us
Search For:         
   
 
Sponsors


Categories

Ajax
ASP
ASP.NET
C and C++
CFML
CGI and Perl
Flash
Java
JavaScript
PHP
Python
Remotely Hosted
Ruby on Rails
Tools and Utilities
Web Hosting
XML

Sponsor Links


Home :: ASP :: Tips and Tutorials :: File Manipulation
Sort Listings By:       Click if you want to be notified of new or updated links in this category
  Total: 38    Displaying: 1 - 20 Pages:  1 2

   Displaying last modified date of any file   Hits: 294 

 
The scope of this code sample is focusing how to find and display of any file's last modified date & time. Probably, you've used to see some pages on web, written at bottom of page last modified date. Now we will create a simple code to do this.


Free   Version: n/a   Platform(s): windows   Updated: Mon Jun 25 2007

Listing Details
Visit
Refer
PDF
  Member Reviews (0) Visitor Ratings

   Counting lines in text files   Hits: 293 

 
In this sample ASP code, we will read and count the lines in a text file. This study uses FileSystem Object and readline method.


Free   Version: n/a   Platform(s): windows   Updated: Wed Mar 28 2007

Listing Details
Visit
Refer
PDF
  Member Reviews (0) Visitor Ratings

   Creating Text files on server   Hits: 652 

 
In VBScript language there is no any function for Input/Output on hard disk. But you may use FileSystem Object to create and edit files on server. This is an indirect technics to create any file on server.


Free   Version: n/a   Platform(s): n/a   Updated: Sun Jan  7 2007

Listing Details
Visit
Refer
PDF
  Member Reviews (0) Visitor Ratings

   ASP File Manipulation   Hits: 910 

 
This article shows how easily we can handle file through asp.


Free   Version: n/a   Platform(s): windows   Updated: Wed Mar  8 2006

Listing Details
Visit
Refer
PDF
  Member Reviews (0) Visitor Ratings

   Retrieve a file from FTP server without any 3rd party component   Hits: 1118 

 
This tutorial is aimed to show you how it is possible to retrieve a remote file via ASP and FTP without using a 3rd-party component.


Free   Version: 1.0   Platform(s): windows   Updated: Mon Nov  7 2005

Listing Details
Visit
Refer
PDF
  Member Reviews (0) Visitor Ratings

   read a file   Hits: 1968 

 
This is some sample code for reading a file .


Free   Version: n/a   Platform(s): n/a   Updated: Mon Apr 18 2005

Listing Details
Visit
Refer
PDF
  Member Reviews (0) Visitor Ratings

   create a file   Hits: 1582 

 
Easy code for creating a file


Free   Version: n/a   Platform(s): n/a   Updated: Mon Apr 18 2005

Listing Details
Visit
Refer
PDF
  Member Reviews (0) Visitor Ratings

   file information   Hits: 1059 

 
This example displays some useful file examples . Last accessed , last modified and when the file was created


Free   Version: n/a   Platform(s): n/a   Updated: Mon Apr 18 2005

Listing Details
Visit
Refer
PDF
  Member Reviews (0) Visitor Ratings

   Create and write content to a text file using ASP   Hits: 362 

 
Tutorial and Code - Create and write content to a text file using ASP


Version: n/a   Platform(s): windows   Updated: Wed Oct 10 2007

Listing Details
Visit
Refer
PDF
  Member Reviews (0) Visitor Ratings

   Displaying Sub Folders   Hits: 1518 

 
Following example displays all sub folders in current folder. We will use SubFolders property of FileSystem Object for this source code. First we will find our current path using System.MapPath.


Version: 1   Platform(s): WinNT/2000/2003   Updated: Tue Apr 20 2004

Listing Details
Visit
Refer
PDF
  Member Reviews (0) Visitor Ratings

   Delete Files Online   Hits: 2760 

 
Following active server pages code delete a file. Example uses FileSystem object to delete the file. Do not forget to double check permissions for this operation.


Version: n/a   Platform(s): WinNT/2000/2003   Updated: Mon Apr 12 2004

Listing Details
Visit
Refer
PDF
  Member Reviews (0) Visitor Ratings

   Delete Folders Online   Hits: 1267 

 
ASP does not allow you to use IO system to modify on files and folders. But with the help of FileSystem object you can delete any file on your server. Do not forget to double check permissions for this operation.


Version: n/a   Platform(s): WinNT/2000/2003   Updated: Mon Apr 12 2004

Listing Details
Visit
Refer
PDF
  Member Reviews (0) Visitor Ratings

   Copying Files (using File System Object)   Hits: 2948 

 
Sometimes you need to copy files to another folder. First you should require to use FSO (File System Object.) CopyFile method of FSO is the simplest way to copy the files. Following sample code will copy some files to another folder.


Version: 1   Platform(s): WinNT/2000/2003   Updated: Sun Jan 25 2004

Listing Details
Visit
Refer
PDF
  Member Reviews (0) Visitor Ratings

   Checking Files Exists   Hits: 1789 

 
If you want to check a file exists, you may use this code. First we are starting script creating a copy of File System Object. FSO has many useful methods. One of them is 'FileExists' that we will use it now.


Version: 1   Platform(s): WinNT/2000/2003   Updated: Sun Jan 25 2004

Listing Details
Visit
Refer
PDF
  Member Reviews (0) Visitor Ratings

   Copying Folders (using File System Object)   Hits: 1531 

 
If you want to copy some foldes to another folder, first create a File System Object. CopyFolder method will help you to copy folder to another folder.


Version: 1   Platform(s): WinNT/2000/2003   Updated: Sun Jan 25 2004

Listing Details
Visit
Refer
PDF
  Member Reviews (0) Visitor Ratings

   Create a text file using ASP   Hits: 4183 

 
Shows how to create a text file using the File Scripting Object.


Version: n/a   Platform(s): n/a   Updated: Mon Aug  5 2002

Listing Details
Visit
Refer
PDF
  Member Reviews (0) Visitor Ratings

   Write to a file with ASP and FSO.   Hits: 3149 

 
This tutorial will show you how use the File Scripting Object to both write to and append to a text file.


Version: n/a   Platform(s): n/a   Updated: Mon Aug  5 2002

Listing Details
Visit
Refer
PDF
  Member Reviews (0) Visitor Ratings

   Delete a folder with ASP   Hits: 1434 

 
For whatever reason, there are times when it would be convenient to know how to delete a folder without having to go to the server to do it. This is just one of the things you can do with the File Scripting Object.


Version: n/a   Platform(s): n/a   Updated: Mon Aug  5 2002

Listing Details
Visit
Refer
PDF
  Member Reviews (0) Visitor Ratings

   Last Updated   Hits: 1339 

 
A code snippet to display the last modified date for any given file dynamically. Every time the file is modified this info is written into the file. The FSO knows just how to read that for you.


Version: n/a   Platform(s): n/a   Updated: Tue Jul 16 2002

Listing Details
Visit
Refer
PDF
  Member Reviews (0) Visitor Ratings

   Uploading files to the server hard disk using plain ASP   Hits: 7032 

 
Step-by-step tutorial on how to upload files (images, etc) from the client browser to the server hard disk using plain ASP pages. Complete application source code is available for download including the code to upload and display uploaded files to the user in an eary to use and understand manner.


Version: n/a   Platform(s): n/a   Updated: Mon Jun 17 2002

Listing Details
Visit
Refer
PDF
  Member Reviews (1) Visitor Ratings

  Total: 38    Displaying: 1 - 20 Pages:  1 2

Share


Register | FAQ/Support | Contact Us | About Us | Getting Rated | Link to Us | Bookmark Us | Advertising Info | Terms of Use | Privacy Policy
Copyright © 2008 iNET Interactive. All rights reserved.
Other iNET Interactive Sites:
Web Hosting Talk | dBForums | Mac Forums | Hosting Catalog