ZipArchive question
| From: | Jeffry Killen | Date: | Sat, 26 Mar 2016 22:48:20 +0000 |
| Subject: | ZipArchive question | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-325489@lists.php.net to get a copy of this message | ||
Hello;
Finally good news: I got a zip successfully created using ZipArchive
(after considerable struggle late last year)
But I need a bit of a tutorial, to the extent that I downloaded the zip file
to the client via ftp connection. So, the client is MacOSX and the ftp
client is Fetch. Mac automatically expanded the zip file. BUT what it
did was recreate the whole absolute path: as dirs within dirs
The content was a collection to text files that appeared in their original
locations: not in the zip file location, in the expanded zip.
I also have an http/php download facility, but that seems to need some
reform at this time.
SO:
1: Should I be using server absolute paths instead of system absolute paths?
2: Would it be better to create a directory and copy/add the content to it, and
then zip the directory?Thank you for time, attention, and patience; JK