Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Extract file on zip with folders
Message
From
10/09/2016 18:42:48
 
 
To
10/09/2016 18:29:22
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Network:
Windows Server 2012 R2
Database:
Visual FoxPro
Application:
Desktop
Virtual environment:
Hyper-V
Miscellaneous
Thread ID:
01640677
Message ID:
01640685
Views:
148
>>Has anyone found a dll that allows
>>to extract a file from the zip archive that contains
>>a file system with multiple folders and subfolders, without extracting the entire archive?
>
>Being ZipFile the source zip file, FileOrFolderToExtract the name of the file or folder (tree) to extract, located anywhere in the zip file structure, and TargetFolder the location where extracted file(s) will be stored, like in:
>
>m.ZipFile = GETFILE("Zip")
>m.FileOrFolderToExtract = "Configurations2\accelerator\current.xml"
>m.TargetFolder = FULLPATH(SET("Default"))
>
>
>then
>
>
>m.Shell = CREATEOBJECT("Shell.Application")
>
>m.Shell.NameSpace(m.TargetFolder).CopyHere(m.Shell.NameSpace(m.ZipFile).items.Item(m.FileOrFolderToExtract))
>
>
>extracts the selected file(s).

the file's folder position is not fixed.
Need to cross the tree.
I need something similar to ADIR ()
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform