Templates and FTP - Question on Zip Close

Feb 24, 2013 at 7:14 PM
I've successfully managed to use PHPWord and FTP when using Templates. It's pretty easy since you can pass in the FTP connection string and it works fine.

My question is on the Save of the new file (Template.PHP).

It will do a close on $this->objZip but fails.
So I removed the close piece and everything works fine. It opens the template, sets all the values and saves it to a new file.

My question is do I really need the close? What is actually closing? The new file created from the template? PHP says it does this automatically though.

Any help would be appreciated!