Skip to main content

Hello,

With UNIFACE 10.3..02.54 on Windows , I try to list all files/folder containt in a folder in a zip file with $ldirlist,

But if the folder name containt a dot, $ldirlist return always empty. [ex:  $ldirlist("D:\\TEMP\\GHO.zip:test.js","DIR") ] .

The foder have the "D" attributes and it's recognize like a folder by Windows and 7zip.

Someone have the same problem with a more recent version of UNIFACE ?

Thanks.

Gilles.



------------------------------
Hortion Gilles
Dedalus Healthcare France
Artigues Pres Bordeaux FR
------------------------------

Hello,

With UNIFACE 10.3..02.54 on Windows , I try to list all files/folder containt in a folder in a zip file with $ldirlist,

But if the folder name containt a dot, $ldirlist return always empty. [ex:  $ldirlist("D:\\TEMP\\GHO.zip:test.js","DIR") ] .

The foder have the "D" attributes and it's recognize like a folder by Windows and 7zip.

Someone have the same problem with a more recent version of UNIFACE ?

Thanks.

Gilles.



------------------------------
Hortion Gilles
Dedalus Healthcare France
Artigues Pres Bordeaux FR
------------------------------

Hello Gilles,

I found this in the $ldirlist documentation:

  • Valid generic directory separators are the backward slash (\\), the forward slash (/) , and the period (.) in combination with square brackets ([a.b]). These are translated to the platform-specific separators.

Likely the function sees the dot as a directory separator and gets confused because it is not. 



------------------------------
Jan Cees Boogaard
Manager, Customer Support
Rocket Internal - All Brands
NL
------------------------------