Categories
ASPTips and Tutorials → File Manipulation

Create and write content to a text file using ASP

Tutorial and Code - Create and write content to a text file using ASP
  • Platforms
    • Windows
  • Licenses
    • Freeware
DETAILS

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 ...
  • Platforms
    • Windows
  • Licenses
    • Freeware
DETAILS

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.
  • Platforms
    • Windows
  • Licenses
    • Freeware
DETAILS

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.
  • Platforms
    • Linux
  • Licenses
    • Freeware
DETAILS

ASP File Manipulation

This article shows how easily we can handle file through asp.
  • Platforms
    • Windows
  • Licenses
    • Freeware
DETAILS

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.
  • Platforms
    • Windows
  • Licenses
    • Freeware
DETAILS

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.
  • Platforms
    • Linux
  • Licenses
    • Freeware
DETAILS

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.
  • Platforms
    • Linux
  • Licenses
    • Freeware
DETAILS

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.
  • Platforms
    • Linux
  • Licenses
    • Freeware
DETAILS

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.
  • Platforms
    • Linux
  • Licenses
    • Freeware
DETAILS

Page:
©2019 A--9.com