File Manipulation
List Images or Other Files in a Folder Using ASP+FileSystemObject
posted byschwarzennegerinFile Manipulation
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, the script also shows file size and last modified date.
The example also demonstrates a naive use of RegExp object to match multiple file extensions. A standalone VBScript function plus an accompanying ASP example to display the date is provided.
Reviews0
PriceFree
Views953
Create and write content to a text file using ASP
posted byjawahar_prasadinFile Manipulation
Tutorial and Code - Create and write content to a text file using ASP
Reviews0
PriceFree
Views2219
Displaying last modified date of any file
posted bydevtutorialsinFile Manipulation
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.
Reviews0
PriceFree
Views1206
Counting lines in text files
posted bydevtutorialsinFile Manipulation
In this sample ASP code, we will read and count the lines in a text file. This study uses FileSystem Object and readline method.
Reviews0
PriceFree
Views1081
Creating Text files on server
posted byinfoinFile Manipulation
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.
Reviews0
PriceFree
Views1732
ASP File Manipulation
posted bynamitjunginFile Manipulation
This article shows how easily we can handle file through asp.
Reviews0
PriceFree
Views1654
Retrieve a file from FTP server without any 3rd party component
posted bydypsoprograminFile Manipulation
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.
Reviews0
PriceFree
Views2160
Displaying Sub Folders
posted byinfoinFile Manipulation
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.
Reviews0
PriceFree
Views2631
Copying Files (using File System Object)
posted byinfoinFile Manipulation
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.
Reviews0
PriceFree
Views4440
Checking Files Exists
posted byinfoinFile Manipulation
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.
Reviews0
PriceFree
Views3061
Copying Folders (using File System Object)
posted byinfoinFile Manipulation
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.
Reviews0
PriceFree
Views2585
Reviews0
PriceFree
Views2812
Reviews0
PriceFree
Views2403
file information
posted byshedboyinFile Manipulation
This example displays some useful file examples . Last accessed , last modified and when the file was created
Reviews0
PriceFree
Views1666
Create a text file using ASP
posted bycontactinFile Manipulation
Shows how to create a text file using the File Scripting Object.
Reviews0
PriceFree
Views5033
Write to a file with ASP and FSO.
posted bycontactinFile Manipulation
This tutorial will show you how use the File Scripting Object to both write to and append to a text file.
Reviews0
PriceFree
Views3833
Delete a folder with ASP
posted bycontactinFile Manipulation
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.
Reviews0
PriceFree
Views2072
Last Updated
posted bycontactinFile Manipulation
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.
Reviews0
PriceFree
Views2293
Uploading files to the server hard disk using plain ASP
posted byfaisalinFile Manipulation
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.
Reviews1
PriceFree
Views8270
Open, Read and Create Files with ASP
posted bywebmasterinFile Manipulation
This tutorial explains opening, reading and creating files using example codes. Up to 6 examples are used.
Reviews0
PriceFree
Views5503