I had some trouble to get TWG to download the zipfile I placed in the dir. Solved it, but for others who might have the problem (or for Michael to correct me) I'll post my solution here.
First of: the zipfiles were placed like this:
Code:
../pictures/album/part1/album_part1.zip
../pictures/album/part2/album_part2.zip
The problem was that the generated urls looked like this:
Code:
../pictures/album%2Fpart1/album_part1.zip
../pictures/album%2Fpart2/album_part2.zip
I solved this by making a change in ../i_frames/i_downloadmanager.php
I changed:
Code:
$linkzip = '../' . $basedir . '/' . rawurlencode($twg_album) . '/' . rawurlencode (str_replace("/", "_", $twg_album)) . '.zip';
to
Code:
$linkzip = '../' . $basedir . '/' . str_replace("%2F","/",rawurlencode($twg_album)) . '/' . rawurlencode (str_replace("/", "_", $twg_album)) . '.zip';
Hope this helps anyone with similar problems!
Michiel