See also
,
,
File.read()
File.readAll()
File.readByte()
File.remove()
Availability
Flash Media Server 2.
Usage
fileObject.remove()
Parameters
None.
Returns
A Boolean value indicating whether the file or directory was removed successfully (
) or
true
not (
).
false
Description
Method; removes the file or directory specified to by the File object. The method returns
if the file is open, the path points to a root folder, or the directory is not empty.
false
Example
The following
statement lets you execute code when
is removed:
if
myFileObject
if (myFileObject.remove()){
// Do something here.
}
File.renameTo()
Availability
Flash Media Server 2.
Usage
fileObject.renameTo(name)
80
Server-Side ActionScript Language Reference
Need help?
Do you have a question about the FLASH MEDIA SERVER 2-SERVER-SIDE ACTIONSCRIPT LANGUAGE and is the answer not in the manual?