Re: FN-FORUM: PHP download script part 2
date posted 28th January 2008 08:59
On 28/01/2008 10:04, Alex Townsend wrote:
> Quoting Steven Lavine [EMAIL REMOVED]
>
>> Hi all,
>>
>> [snip]
>> However whenever I download via the script I get the following error:
>>
>> [/home/steven/Desktop/BNK1.jpg.zip]
>> End-of-central-directory signature not found. Either this file is not
>> a zipfile, or it constitutes one disk of a multi-part archive. In the
>> latter case the central directory and zipfile comment will be found on
>> the last disk(s) of this archive.
>> zipinfo: cannot find zipfile directory in one of
>> /home/steven/Desktop/BNK1.jpg.zip or
>> /home/steven/Desktop/BNK1.jpg.zip.zip, and cannot find
>> /home/steven/Desktop/BNK1.jpg.zip.ZIP, period.
>>
> Also, you're creating the file with the extension .jpg.zip.zip,
> which strikes me as being *very* wrong. If you've created
> bnk1.jpg.zip, and it's trying to d/l bnk1.jpg.zip.zip , then it's
> never going to work.
>
That's zipinfo trying .zip when it can't find the file.
Martin