Skip to Content
0

Problem while unzipping files using cl_abap_zip !

Jun 08, 2017 at 09:48 AM

47

avatar image
Former Member

Hello experts,

i'm facing a problem while trying to unzip a file using cl_abap_zip.

The code :

The problem is that that loop gives me files empty so cl_zip->get( ...) returns a dump because it needs files not empty.

Any thought ?

Thanks !

question.png (16.3 kB)
question2.png (13.1 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Raymond Giuseppi
Jun 08, 2017 at 01:17 PM
0
  • First, could you handle the zip_parse_error exception?
  • Then, and only if no error raised, in the loop, consider skipping directories (e.g. excluding some patern like */)
Show 1 Share
10 |10000 characters needed characters left characters exceeded
Former Member

Thank you Raymond i could resolve it following this post

https://archive.sap.com/discussions/thread/1492254

0