EXTRACT FILE |
Extract Compressed File from ZIP Archive |
EXTRACT FILE filename$ FROM (chan [, ERR=stmtref] [,KEY=string$])
filename$ |
Path and filename of the extracted file. |
chan |
Open file channel of the ZIP archive from which to extract the file. |
string$ |
Path and filename of the file in the ZIP archive to extract. (Required only if this is different from filename$.) |
stmtref |
Program line number or statement label to which to transfer control. |
The EXTRACT FILE directive will decompress the specified file in the ZIP archive and will then create that file on your system with the path and filename specified.
(The EXTRACT FILE directive was added in PxPlus 2016.)
INSERT FILE Insert and Compress File into ZIP Archive
Accessing ZIP Files
open (hfn)"test.zip"
extract file "test" from (lfo)
load "test"
list
close (lfo)