Javascript Misc fileDelete

From FreeSWITCH Wiki
Jump to: navigation, search

Contents

Description

Deletes a file from the system.

Synopsis

fileDelete(filename);

Where:

  • filename - full path to filename (use unix slash "/" on win32)

Returns:

  • true - on success
  • false - on file not found or failure

Example

rtn = fileDelete("/tmp/recording.wav");

See Also