[delphizip] Re: Problem using ExtractFileToStream

  • From: "Trueman, Christopher" <ctrueman@xxxxxxxxxxxxxxx>
  • To: <delphizip@xxxxxxxxxxxxx>
  • Date: Fri, 6 Oct 2006 02:53:55 -0700

I replaced all occurrences of '/' with '\' in the filename before
passing it to ExtractFileToStream.  Still getting nil returned.  Here's
the trace output:

Trace: starting second loop - THIS TIME we take action.
Trace: loc A: request =3D 810, inbuf_offset =3D 810
Trace: bufstart !=3D cur_zipfile_bufstart
Trace: about to process local file hdr
Trace: process_local_file_hdr of process.c found fname len of 57
Read local filename
BUILDARCHIVES\sap.com~com.sap.pcd.dbschema~_comp~dcia.zip
Trace: in extract.c, about to call decrypt
Trace: Start extract_or_test_member:
BUILDARCHIVES\sap.com~com.sap.pcd.dbschema~_comp~dcia.zip
Trace: initializing pG->crc32val to 00000000
Trace: error occured while extracting or testing
Trace: jump back in central dir to where we were
Trace: done with big outer block
Trace: filnum =3D 1
Trace: Done with extract\list files (error =3D 50)



Chris.

> I works for me IF the correct path delimiters are used \ not /
> - Russell Peters

<snip>

_______________________________________________________
The contents of this e-mail are intended for the named addressee only. =
It
contains information that may be confidential. Unless you are the named
addressee or an authorized designee, you may not copy or use it, or =
disclose
it to anyone else. If you received it in error please notify the sender=20
immediately, and then destroy it.

-----------
To unsubscribe from this list, send an empty e-mail 
message to:
  delphizip-request@xxxxxxxxxxxxx 
and put the word unsubscribe in the subject.

Other related posts: