Download Zip file from FTP and UnZip to local PC

aditya_raj

Member
Joined
Dec 17, 2007
Messages
5
Programming Experience
1-3
HI All,

I am looking for some help in downloading latest Zip file from a FTP location and UnZIP it by saving to a particular location using VB.NET GipStream or some other method.

I prefer not to use any 3rd party controls.

All ideas would be appreciated.

Thanks.
 
You have no choice but to use third-party libraries if you want to do it in managed code because there is no ZIP support in the NET Framework. GZIP and ZIP are not the same thing. If you absolutely must avoid third-party apps then you could invoke the ZIP functionality built into Windows using Process.Start. Otherwise, I'd suggest using DotNetZip. Don't have an irrational fear of third-party components. DotNetZip is a DLL you deploy with your EXE, just like a DLL of your own creation. There's no extra installation or the like.
 
Back
Top