Saturday, November 21, 2009
 
 
 Files ASP Scripts
 ASP Script Home » Files

45 ASP Files Scripts

Sort: Most Viewed | Highest Rated | Newest

Display Random Image

A simple random image. This is the code we use to display randon image at Ex-designz Recipe and Karaoke section....
Added on: 8/11/2007  Hits: 301 Rating: Display Random Image has been rated  184.73 by  130 users (184.73) votes 130

Force Download Dynamic Picture

This code will force users/guest to download picture instead of opening in the browser.I use this code in my photo gallery.To see how it work, go to my photo gallery....
Added on: 5/4/2003  Hits: 6931 Rating: Force Download Dynamic Picture  has been rated  3.00 by  34 users (3.00) votes 34

When was the file last accessed?

This example demonstrates how to use the DateLastAccessed property to get the date and time a specified file was last accessed. ...
Added on: 12/17/2002  Hits: 3745 Rating: When was the file last accessed? has been rated  3.00 by  30 users (3.00) votes 30

When was the file created?

This example demonstrates how to first create a FileSystem Object, and then use the DateCreated property of the File Object to get the date and time a specified file was created. ...
Added on: 12/17/2002  Hits: 3231 Rating: When was the file created? has been rated  3.00 by  33 users (3.00) votes 33

When was a file last modified?

Checks when this file was last modified....
Added on: 12/15/2002  Hits: 6836 Rating: When was a file last modified? has been rated  2.94 by  31 users (2.94) votes 31

WriteLog Statement

The WriteLog statement writes a line of text into a log file. The WriteLog statement automatically inserts the date and time of the log addition along with any text you specify in the logevent argument. WriteLog automatically appends new information to any existing data in a log file if one is...
Added on: 12/15/2002  Hits: 5244 Rating: WriteLog Statement  has been rated  3.00 by  31 users (3.00) votes 31

Title Function

The Title function returns a string representing the title of a web page. It specifically scans a web page looking for the title tags and returns whatever is in between. The required argument pathname is the full path to a web page [*.htm, *.html, *.asp, *.cfm, *.cgi, etc...]. ...
Added on: 12/15/2002  Hits: 5700 Rating: Title Function  has been rated  2.97 by  32 users (2.97) votes 32

SetAttr Statement

The SetAttr statement sets the attributes of a file or folder. There are two required arguments, pathname and attributes. Path name must be the absolute path to a folder or file. The attributes argument is an integer representing one of the following constants: Constant ...
Added on: 12/15/2002  Hits: 5757 Rating: SetAttr Statement  has been rated  3.00 by  30 users (3.00) votes 30

Search Function

The Search function recursively searches all files on a hard drive for a specific phrase from a specified start directory. The Search function is not meant for web site searches by site users but was designed to be used in code only to obtain the path of a file matching the given phrase. T...
Added on: 12/15/2002  Hits: 5300 Rating: Search Function  has been rated  3.13 by  32 users (3.13) votes 32

MkFile Statement

The MkFile statement creates a file on the server. The MkFile statement has one required argument, pathname. Pathname must be the complete path and file name with extension to be created. ...
Added on: 12/12/2002  Hits: 5238 Rating: MkFile Statement  has been rated  3.00 by  30 users (3.00) votes 30

FileCopy Statement

The FileCopy statement copies a file. There are two required arguments, source and destination. The source argument is the full path to the file you are copying and the destination argument is the full path of where the copied file is to be placed. As an added bonus, my version of FileCopy ...
Added on: 12/12/2002  Hits: 5487 Rating: FileCopy Statement  has been rated  3.03 by  31 users (3.03) votes 31

FileDateTime Function

The FileDateTime function returns the time and date a file was last modified. If the file is not found or an error occurs during the processing of the function, Null is returned. ...
Added on: 12/12/2002  Hits: 5210 Rating: FileDateTime Function  has been rated  3.00 by  30 users (3.00) votes 30

FileLen Function

The FileLen function returns a long representing the size of a file in bytes. If file is not found, FileLen returns Null. ...
Added on: 12/12/2002  Hits: 3242 Rating: FileLen Function  has been rated  3.00 by  30 users (3.00) votes 30

FileRead Function

The FileRead function allows the contents of a file to be read. The FileRead function has one required argument, pathname, which represents the complete path to an already existing file on the server. The ReadFile function returns a string representing the contents of the file. ReadFile return...
Added on: 12/12/2002  Hits: 3301 Rating: FileRead Function  has been rated  3.00 by  31 users (3.00) votes 31

FileWrite Statement

The FileWrite statement allows writing to a file. The FileWrite statement has three required arguments: pathname, texttowrite, and overwrite. The first argument is pathname. Pathname must be the complete path to an already existing file. The second argument texttowrite is a string contai...
Added on: 12/12/2002  Hits: 7233 Rating: FileWrite Statement  has been rated  3.06 by  31 users (3.06) votes 31

INITool Object

The INITool Object allows an ASP programmer to work with INI files on the server. Properties ================ No exposed properties. Methods ================ You must call the Load() method before calling any other methods of the class. object.Save() saves any changes made...
Added on: 12/12/2002  Hits: 4696 Rating: INITool Object  has been rated  2.94 by  31 users (2.94) votes 31

Kill Statement

The Kill statement deletes files. The required pathname argument must be absolute and include the drive letter. This supports the use of the wildcard character * to delete mulitple files. ...
Added on: 12/12/2002  Hits: 5731 Rating: Kill Statement  has been rated  3.00 by  35 users (3.00) votes 35

MkDir Statement

The MkDir statement creates a new directory or folder. The required path argument must be absolute and include the drive letter. If you are unsure of the path to your web server's root, use server.mappath in the path argument. ...
Added on: 12/12/2002  Hits: 5237 Rating: MkDir Statement  has been rated  3.06 by  31 users (3.06) votes 31

RmDir Statement

The RmDir statement deletes a directory or folder. The required path argument must be absolute and include the drive letter. If you are unsure of the path to your web server's root, use server.mappath in the path argument. ...
Added on: 12/12/2002  Hits: 5284 Rating: RmDir Statement  has been rated  3.09 by  32 users (3.09) votes 32

MkDatabase Function

The MkDatabase statement creates an empty Microsoft Access database. The required argument pathname must end in .mdb and reflects the location of where the new database will be created. MkDatabase can only create a database. An error occurs if the specified path is not found or if there is a d...
Added on: 12/12/2002  Hits: 6285 Rating: MkDatabase Function  has been rated  3.06 by  31 users (3.06) votes 31
Records 1 to 20 of 45






HOME | ARTICLES | MUSIC | DOWNLOADS | LINK DIRECTORY |  GAMES | TEST-QUIZZES | SITEMAP | ABOUT | HELP
Copyright © 2000 - 2007 Ex-designz. All rights reserved. Website Developed By Dexter Zafra of Myasp-net.com
Link to us | Contact us | Privacy Policy | Terms of use | Accessibility