file Methods

Public Methods

Name Description
VSObject_Method

copy

Copies one or more files from the source location to the destination location.

VSObject_Method

createFile

Creates a file at the specified location.

VSObject_Method

createFolder

Creates a folder at the specified location.

VSObject_Method

deleteFile

Deletes the specified file.

VSObject_Method

exists

Tests for the existence of the specified file.

VSObject_Method

getAttribute

Gets the attributes of the specified file or folder.

VSObject_Method

getCreationDate

Gets the JavaScript object that represents the time when the file was created.

VSObject_Method

getModificationDate

Gets the JavaScript date object that represents the time when the file was last modified.

VSObject_Method

getSize

Gets the size of a specified file.

VSObject_Method

listFolder

Gets a list of the contents of the specified folder.

VSObject_Method

read

Reads the contents of the specified file into a string.

VSObject_Method

setAttributes

Sets the attributes of the specified file or folder.

VSObject_Method

write

Writes the specified string to the specified file. If the specified file does not yet exist, it is created.

See Also

Concepts

file
xweb

  Copyright © 2011 by Microsoft Corporation. All rights reserved.