Dear developers!
I found that the path in property TUnzipFile:cDirectory cannot be relative.
If I do:
oZip:=TUnzipFile():New()
oZip:cFileName:=cTmpArc
oZip:cDirectory:='ARC'
oZip:Run()
oZip:Free()
the data is always extracted to C:ARC despite of current directory
(C:PROGRAM for example).
Can you check this?
Regards, Oleg
In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.
Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.
Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.
TUnzipFile:cDirectory cannot be relative
- ignacio
- Site Admin
- Mensajes: 9469
- Registrado: Lun Abr 06, 2015 8:00 pm
- Ubicación: Madrid, Spain
- Contactar:
TUnzipFile:cDirectory cannot be relative
Oleg,
As you can see on the source code (ZipArchive.prg: XunZipFile:Run()) we do
not make any modificaction to cDirectory member and its value is given to
the HB_UnZipFile() XHARBOUR function. So, if there is a bug, surely is on
that function . BTW, I suggest you try with ".ARC"
Regards,
--
Ignacio Ortiz de Zúñiga
[Soporte Xailer]
[Xailer support]
"Oleg" <info@cluster.samara.ru> escribió en el mensaje
news:482be8fc$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
> Dear developers!
>
> I found that the path in property TUnzipFile:cDirectory cannot be
> relative.
> If I do:
> oZip:=TUnzipFile():New()
> oZip:cFileName:=cTmpArc
> oZip:cDirectory:='ARC'
> oZip:Run()
> oZip:Free()
> the data is always extracted to C:ARC despite of current directory
> (C:PROGRAM for example).
>
> Can you check this?
>
> Regards, Oleg
>
>
As you can see on the source code (ZipArchive.prg: XunZipFile:Run()) we do
not make any modificaction to cDirectory member and its value is given to
the HB_UnZipFile() XHARBOUR function. So, if there is a bug, surely is on
that function . BTW, I suggest you try with ".ARC"
Regards,
--
Ignacio Ortiz de Zúñiga
[Soporte Xailer]
[Xailer support]
"Oleg" <info@cluster.samara.ru> escribió en el mensaje
news:482be8fc$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
> Dear developers!
>
> I found that the path in property TUnzipFile:cDirectory cannot be
> relative.
> If I do:
> oZip:=TUnzipFile():New()
> oZip:cFileName:=cTmpArc
> oZip:cDirectory:='ARC'
> oZip:Run()
> oZip:Free()
> the data is always extracted to C:ARC despite of current directory
> (C:PROGRAM for example).
>
> Can you check this?
>
> Regards, Oleg
>
>
Ignacio Ortiz de Zúñiga
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
TUnzipFile:cDirectory cannot be relative
Oleg,
As you can see on the source code (ZipArchive.prg: XunZipFile:Run()) we do
not make any modificaction to cDirectory member and its value is given to
the HB_UnZipFile() XHARBOUR function. So, if there is a bug, surely is on
that function . BTW, I suggest you try with ".ARC"
Regards,
--
Ignacio Ortiz de Zúñiga
[Soporte Xailer]
[Xailer support]
"Oleg" <info@cluster.samara.ru> escribió en el mensaje
news:482be8fc$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
> Dear developers!
>
> I found that the path in property TUnzipFile:cDirectory cannot be
> relative.
> If I do:
> oZip:=TUnzipFile():New()
> oZip:cFileName:=cTmpArc
> oZip:cDirectory:='ARC'
> oZip:Run()
> oZip:Free()
> the data is always extracted to C:ARC despite of current directory
> (C:PROGRAM for example).
>
> Can you check this?
>
> Regards, Oleg
>
>
As you can see on the source code (ZipArchive.prg: XunZipFile:Run()) we do
not make any modificaction to cDirectory member and its value is given to
the HB_UnZipFile() XHARBOUR function. So, if there is a bug, surely is on
that function . BTW, I suggest you try with ".ARC"
Regards,
--
Ignacio Ortiz de Zúñiga
[Soporte Xailer]
[Xailer support]
"Oleg" <info@cluster.samara.ru> escribió en el mensaje
news:482be8fc$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
> Dear developers!
>
> I found that the path in property TUnzipFile:cDirectory cannot be
> relative.
> If I do:
> oZip:=TUnzipFile():New()
> oZip:cFileName:=cTmpArc
> oZip:cDirectory:='ARC'
> oZip:Run()
> oZip:Free()
> the data is always extracted to C:ARC despite of current directory
> (C:PROGRAM for example).
>
> Can you check this?
>
> Regards, Oleg
>
>
TUnzipFile:cDirectory cannot be relative
Ignacio,
> As you can see on the source code (ZipArchive.prg: XunZipFile:Run()) we do
> not make any modificaction to cDirectory member and its value is given to
> the HB_UnZipFile() XHARBOUR function. So, if there is a bug, surely is on
> that function . BTW, I suggest you try with ".ARC"
It seems that the path must be full. Your suggestion with ".ARC" does not
work too.
Ok, I can workaround it.
Regards, Oleg
> As you can see on the source code (ZipArchive.prg: XunZipFile:Run()) we do
> not make any modificaction to cDirectory member and its value is given to
> the HB_UnZipFile() XHARBOUR function. So, if there is a bug, surely is on
> that function . BTW, I suggest you try with ".ARC"
It seems that the path must be full. Your suggestion with ".ARC" does not
work too.
Ok, I can workaround it.
Regards, Oleg
TUnzipFile:cDirectory cannot be relative
Ignacio,
> As you can see on the source code (ZipArchive.prg: XunZipFile:Run()) we do
> not make any modificaction to cDirectory member and its value is given to
> the HB_UnZipFile() XHARBOUR function. So, if there is a bug, surely is on
> that function . BTW, I suggest you try with ".ARC"
It seems that the path must be full. Your suggestion with ".ARC" does not
work too.
Ok, I can workaround it.
Regards, Oleg
> As you can see on the source code (ZipArchive.prg: XunZipFile:Run()) we do
> not make any modificaction to cDirectory member and its value is given to
> the HB_UnZipFile() XHARBOUR function. So, if there is a bug, surely is on
> that function . BTW, I suggest you try with ".ARC"
It seems that the path must be full. Your suggestion with ".ARC" does not
work too.
Ok, I can workaround it.
Regards, Oleg