MDN wants to learn about developers like you: https://qsurvey.mozilla.com/s3/MDN-dev-survey

Summary

Deletes a specified file.

Method of

File object

Syntax

int remove( FileSpecObject file )

Parameters

The remove method has the following parameters:

file
A FileSpecObject representing the file to be removed.

Returns

An integer error code. For a list of possible values, see Return Codes.

Document Tags and Contributors

 Contributors to this page: Sheppy, ethertank, trevorh, Fredchat, Rod Whiteley
 Last updated by: Sheppy,