Autor Beitrag
huuuuuh
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 665
Erhaltene Danke: 19

win xp, (win vista), win 7
VS 2008 Express Edition, VS 2010 Express Edition, VS 2010 Professionell
BeitragVerfasst: Sa 12.04.08 07:17 
gibt es eine möglichkeit mit delphi eine .gz datei zu entpacken?
beispiel: eine textdatei steht im internet
um weniger traffic u erzeugen ist dies datei auch mit .gz gepackt also .txt.gz mit dem hinweis man möge doch lieber die gepackte datei herunterladen


Moderiert von user profile iconChristian S.: Topic aus Sonstiges (Delphi) verschoben am Sa 12.04.2008 um 18:30
BenBE
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 8721
Erhaltene Danke: 191

Win95, Win98SE, Win2K, WinXP
D1S, D3S, D4S, D5E, D6E, D7E, D9PE, D10E, D12P, DXEP, L0.9\FPC2.0
BeitragVerfasst: Sa 12.04.08 11:53 
GZ basiert auf LZW-Komprimierung. IIRC konnte man mit einem kleinen Trick die ZLib, die bei Delphi bei liegt missbrauchen. Ansonsten halt kurz selber implementieren, der Standard dazu ist recht einfach und offen verfügbar.

_________________
Anyone who is capable of being elected president should on no account be allowed to do the job.
Ich code EdgeMonkey - In dubio pro Setting.