WMPRO, WMMINI FW >= 1.0 WMMEGA FW >= 2.0
Expand a TAR file into the current folder, optionally verbose
This function will attempt to unpack a TAR archive1) into the current working folder, which is the folder that the script was started in or as was set by chdir(). In addition, it will send the filenames that are unpacked to the current output stream such as a web page or terminal, and if the optional verbose parameter is used it will also display the number of bytes and blocks for each file.
$filename: If a path is omitted, the current directory will be used to search for the file to unpack (which is also where the unpacked files will be placed). If a path is also specified it should begin with /
(relative to the root).
$verbosity: Optional
Integer: 1 if successful, or 0 if the attempt to expand the TAR file failed
tar_put() - Add a file to an open file in TAR format
tar_finish() - Add the ending header to a TAR file
chdir() - Change the current directory