File Manipulation

Results 1 - 20 of 39

Sort by:

Displaying Sub Folders

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.

(5.00 out of 5) from 3 Ratings

  • Price: Free
  • Views: 1,835

Checking Files Exists

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.

(4.67 out of 5) from 3 Ratings

  • Price: Free
  • Views: 1,999

Delete Files Online

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.

(3.67 out of 5) from 12 Ratings

  • Price: Free
  • Views: 3,106

Copying Files (using File System Object)

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.

(2.87 out of 5) from 15 Ratings

  • Price: Free
  • Views: 3,387

Delete Folders Online

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.

(2.33 out of 5) from 3 Ratings

  • Price: Free
  • Views: 1,500

Creating Text files on server

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.

  • Price: Free
  • Views: 921

List Images or Other Files in a Folder Using ASP+FileSystemObject

This is a simple script that lists the files present in the specified folder (directory). It uses VBScript's FileSystemObject to scan and return list of files in the specified folder that match specified filename extension(s). In addition to file names,...
(show more)

  • Price: Free
  • Views: 96

Uploading files to the server hard disk using plain ASP

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...
(show more)

(4.41 out of 5) from 25 Ratings

  • Price: Free
  • Views: 7,377

Downloading Files with VBScript and ASP

Setting up a simple file downloading system with VBScript and ASP is no sweat. The primary use for a system like this is to allow downloading of any TEXT based file that would normally be served via a client's browser and be unable to be downloaded. A...
(show more)

(4.42 out of 5) from 10 Ratings

  • Price: Free
  • Views: 5,302

Create and write content to a text file using ASP

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

  • Price: Free
  • Views: 1,171

Displaying last modified date of any file

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.

  • Price: Free
  • Views: 508

Counting lines in text files

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

  • Price: Free
  • Views: 431

ASP File Manipulation

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

  • Price: Free
  • Views: 1,121

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

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.

(4.67 out of 5) from 3 Ratings

  • Price: Free
  • Views: 1,413

read a file

This is some sample code for reading a file .

(3.78 out of 5) from 9 Ratings

  • Price: Free
  • Views: 2,132

create a file

Easy code for creating a file

(3.67 out of 5) from 12 Ratings

  • Price: Free
  • Views: 1,711

file information

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

(3.67 out of 5) from 3 Ratings

  • Price: Free
  • Views: 1,164

Copying Folders (using File System Object)

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.

(1.83 out of 5) from 6 Ratings

  • Price: Free
  • Views: 1,800

Write to a file with ASP and FSO.

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

(4.33 out of 5) from 3 Ratings

  • Price: Free
  • Views: 3,328

Create a text file using ASP

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

(2.78 out of 5) from 9 Ratings

  • Price: Free
  • Views: 4,363
<< previous
 ( 1 | 2next >>