|
|
 |
Re: FN-FORUM: PHP download script part 2
date posted 28th January 2008 19:10
Richard Harrison wrote:
>
>
>> I decided to go the compressed file route, my download script now
>> compresses the file into a zip file. If I access the zip file via
>> FTP, I can download the file and extract the contents without any
>> problems. However whenever I download via the script I get the
>> following error:
> Have you inspected the file with a hex editor to see what is actually
> in there.
>
> This error message together with the previous problems seriously
> indicates to me that there is probably some junk at the start or end
> of the file and the only way to find out is to look at it.
>
> Also download it via http, and then use cmp (Linux) to compare it with
> the file downloaded by ftp.
>
I've done that thanks for the suggestion.
The script was putting " \n" at the begining of the file
Steve
|
 |
|