jennifere
asked on
Unzip a zip file
Is there an easy way to unzip a file. Here is my code. It downloads the file fine but is not extracting it. Am I doing this right or is there an easier way??
FTP.Get('officesOFFICES.zip', 'C:\CSS\RETS\CharlestonOff ice.zip', true, true);
ZipFile := 'C:\CSS\RETS\CharlestonOff ice.zip';
cmd:='/c c:\discod\discoc\sys\zipx '+ZipFile;
ShellExecute(Application.h andle,'ope n','comman d',PChar(c md),nil,SW _SHOW);
FTP.Get('officesOFFICES.zip', 'C:\CSS\RETS\CharlestonOff
ZipFile := 'C:\CSS\RETS\CharlestonOff
cmd:='/c c:\discod\discoc\sys\zipx '+ZipFile;
ShellExecute(Application.h
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
That works perfect. Thanks!
Glad to help.
A good one I have used in the past is TurboPowers Abbrevia component set, this can be downloaded from SourceForge (as it's now open source) at: http://sourceforge.net/projects/tpabbrevia/
Cheers.
:-)