zlib compressor path ?
Posted: 16. March 2005 07:43
Hi !
I have xampp installed on my Windows xp machine.
I'm trying to find the path to the zlib compressor for making
compressed archives with the "gz" extension.
I have a perl database backup script that can compress (if found)
sql backups.
When i run the script on linux (at my webhost) the script seems to find the
ArchiverCommand by itself.
But when running it on windows, it seems it cant find the command/path ?
The auto created config file looks like this:
# full path (if required) and name of the archiver
# %f% - defines filename to pack, %a% - defines filename of archive
# for example (WinRAR usage under Windows):
# $ArchiverCommand = '"c:\program files\winrar\rar.exe" a -df -inul -ep -y "%a%" "%f%"';
# for example (gzip on *nix):
# $ArchiverCommand = 'gzip -9 -q -f "%f%"' or 'gzip -9 -q -f -c "%f%" > "%a%"';
$ArchiverCommand = 'NOT_DETECTED';
I have tried to find any "exe" in the xampp package that does this
compression, but it looks like it's done via some dll's somehow ???
This is how the working config file look like on my linux host:
$ArchiverCommand = 'gzip -9 -q -f "%f%"';
$DeArchiverCommand = 'gunzip -q -f "%a%"';
$ArchiveExt = 'gz';
Could someone suggest how to make this work PLEASE.
I have xampp installed on my Windows xp machine.
I'm trying to find the path to the zlib compressor for making
compressed archives with the "gz" extension.
I have a perl database backup script that can compress (if found)
sql backups.
When i run the script on linux (at my webhost) the script seems to find the
ArchiverCommand by itself.
But when running it on windows, it seems it cant find the command/path ?
The auto created config file looks like this:
# full path (if required) and name of the archiver
# %f% - defines filename to pack, %a% - defines filename of archive
# for example (WinRAR usage under Windows):
# $ArchiverCommand = '"c:\program files\winrar\rar.exe" a -df -inul -ep -y "%a%" "%f%"';
# for example (gzip on *nix):
# $ArchiverCommand = 'gzip -9 -q -f "%f%"' or 'gzip -9 -q -f -c "%f%" > "%a%"';
$ArchiverCommand = 'NOT_DETECTED';
I have tried to find any "exe" in the xampp package that does this
compression, but it looks like it's done via some dll's somehow ???
This is how the working config file look like on my linux host:
$ArchiverCommand = 'gzip -9 -q -f "%f%"';
$DeArchiverCommand = 'gunzip -q -f "%a%"';
$ArchiveExt = 'gz';
Could someone suggest how to make this work PLEASE.