in reply to Re: Re: Re: Re: Re: ESP+ Storage .rep repository
in thread ESP+ Storage .rep repository

Hi Joshua. I was reading in detail your programs code. Now i have the following problem. According with your programs the structure of the record in the .rep file is: header + ( magic number + compress body) <next record with the same structure> the header structure is: H=058;T=0;L=1086;C=3;U=1075863338;A=cto8;AFP=v02/04/04,o0; where H=058 indicate the lenght of the header in this case 58, L=1086 indicate the lenght of the uncompressed file . when i process the first record the resutl is ok, but with the next records the uncompress function produce a bad output. I extract the string between the magic number and the last caracter before the new header to produce the .z file, and then uncompress it. Please let me know where i have the error. Thanks again

Replies are listed 'Best First'.
Re^7: ESP+ Storage .rep repository
by diotalevi (Canon) on Jun 15, 2004 at 16:21 UTC
    Your description is correct. The problem is in either your code or your data. You will have to show one or the other before I am able to tell you more.
      Hi, i wrote you to your cpan.org email. I attach a sample of my .rep file. I don't know if the problem is that i am processing a unix file under windows or dos structure files. In the other hand, during de process the record one has a very good extraction, with the same lenght that the header especified. Then i asume that the problem is not the file under windows system. If you prefer i can write you to your email, and attach an example. Thanks