Jump to content











Photo
- - - - -

re7zip

udf iso remote http 7zip

  • Please log in to reply
60 replies to this topic

#26 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12688 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 09 October 2012 - 04:38 PM

IMO:
  • You did nothing wrong
  • There is a bug in detecting / processing the /t=7z switch
Peter

#27 The Freezer

The Freezer
  • Members
  • 8 posts
  • Location:NE Ohio
  •  
    United States

Posted 09 October 2012 - 04:45 PM

And possibly another bug with opening HTTP archives (or at least .zip ones) ;)

#28 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12688 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 09 October 2012 - 05:10 PM

Because I have access to the re7zip source svn, I'll try to help Nuno and find the root of your troubles.
(Unfortunatelly later, because of other duties I have currently. In the worst case maybe after vacation in middle november).

Your "Interest" shoes something I could not find asking google.

Can you explain more?
If you do not want to publish, please PM me. The title looks very intersting.

Peter

#29 Nuno Brito

Nuno Brito

    Platinum Member

  • Team Reboot
  • 10441 posts
  • Location:boot.wim
  • Interests:I'm just a quiet simple person with a very quiet simple life living one day at a time..
  •  
    European Union

Posted 09 October 2012 - 05:16 PM

...

Hi, thank you for the feedback.

I confirmed this defect also on my side. I tried using "7z" on lower case and it replies back "Invalid file type: 7Z".

Looking on the code it seems that this file type was not added yet, strange.

:cheers:

#30 The Freezer

The Freezer
  • Members
  • 8 posts
  • Location:NE Ohio
  •  
    United States

Posted 09 October 2012 - 05:34 PM

Because I have access to the re7zip source svn, I'll try to help Nuno and find the root of your troubles.
(Unfortunatelly later, because of other duties I have currently. In the worst case maybe after vacation in middle november).

Sure, no problem. I was just playing around with it for possible uses I might have for an online WPI-type repo for apps and/or games relating to that SetupS project you referred to in my profile.

Your "Interest" shows something I could not find asking google. Can you explain more? If you do not want to publish, please PM me. The title looks very interesting.

LOL, that's ironic -- it's actually hosted on Google.Code; but probably listed as ssTek instead. I'll try fixing my profile to help the curious onlookers. ;)

In the meantime, here's the 411:

http://code.google.com/p/sstek/

also, http://sstek.vergitek.com

and, http://www.lastos.org/forum/


Edited by pscEx, 09 October 2012 - 05:49 PM.
corrected my wrong spelled "Nuno" in the quote


#31 Icecube

Icecube

    Gold Member

  • Team Reboot
  • 1062 posts
  •  
    Belgium

Posted 09 October 2012 - 05:58 PM

The sevenzipjbinding library needs SEVEN_ZIP instead of 7z:

$ java -jar "./NetBeansProjects/re7zip/trunk/re7zip/dist/re7zip.jar" -t=SEVEN_ZIP -a=http://www.lastos.org/team/LastOS/Repository/CCleaner_v3.23_ppApp.7z -e=ppApp.jpg -o=ppApp.jpg

Opening HTTP archive 'http://www.lastos.org/team/LastOS/Repository/CCleaner_v3.23_ppApp.7z'.

Failed to open archive 'http://www.lastos.org/team/LastOS/Repository/CCleaner_v3.23_ppApp.7z'


  • Nuno Brito and The Freezer like this

#32 The Freezer

The Freezer
  • Members
  • 8 posts
  • Location:NE Ohio
  •  
    United States

Posted 09 October 2012 - 06:08 PM

The sevenzipjbinding library needs SEVEN_ZIP instead of 7z


Cool. That fixed the first bug -- I just tested it. :)
Still tanks on opening the archives, though... :dubbio:

Edited by The Freezer, 09 October 2012 - 06:09 PM.


#33 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12688 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 09 October 2012 - 06:09 PM

The sevenzipjbinding library needs SEVEN_ZIP instead of 7z:

:clap:
  • Should be added in (not yet fully available) re7zip documentation
  • @icecube: Can you map -t=7z to -t=SEVEN_ZIP ?
Peter

#34 Icecube

Icecube

    Gold Member

  • Team Reboot
  • 1062 posts
  •  
    Belgium

Posted 09 October 2012 - 06:35 PM

It is fixed now in SVN.

#35 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12688 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 09 October 2012 - 07:28 PM

It is fixed now in SVN.

:1st:

Peter

(@Nuno: And when in "download"?)

#36 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12688 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 09 October 2012 - 07:35 PM

LOL, that's ironic -- it's actually hosted on Google.Code; but probably listed as ssTek instead. I'll try fixing my profile to help the curious onlookers. ;)

Thanks! I have had a look. Seems interesting. But to decide for me whether I'll really take part, will take some (Latin) minutes ...

Peter :cheers:

#37 Nuno Brito

Nuno Brito

    Platinum Member

  • Team Reboot
  • 10441 posts
  • Location:boot.wim
  • Interests:I'm just a quiet simple person with a very quiet simple life living one day at a time..
  •  
    European Union

Posted 09 October 2012 - 08:27 PM

Good find @Icecube! :1st:

@Nuno: And when in "download"?

Can you or Icecube make available the compiled jar on the downloads area of google code? I'm writing this post from a guest workstation. Thanks!

I was just playing around with it for possible uses I might have for an online WPI-type repo for apps and/or games relating to that SetupS project you referred to in my profile.

That's nice. You're welcome to place your project URL on the signature space of your member profile. This might help to raise more awareness for sstek.

Look here: http://reboot.pro/in...&area=signature

Take care! :)

#38 friske

friske

    Frequent Member

  • Advanced user
  • 244 posts
  •  
    Italy

Posted 16 October 2012 - 06:45 AM

Do it not support proxy server?

#39 Icecube

Icecube

    Gold Member

  • Team Reboot
  • 1062 posts
  •  
    Belgium

Posted 16 October 2012 - 08:49 AM


java -jar re7zip.jar /t=zip /a=http://www.lastos.org/team/LastOS/Repository/CCleaner_v3.23_ppApp.zip /e=ppApp.jpg /o=ppApp.jpg

But now this is what I'm getting:

Opening HTTP archive 'http://www.lastos.org/team/LastOS/Repository/CCleaner_v3.2

3_ppApp.zip'.

Failed to open archive 'http://www.lastos.org/team/LastOS/Repository/CCleaner_v3

.23_ppApp.zip'.


Hummm. So I'm kind of puzzled as to what I'm doing wrong. Otherwise, this tool is showing great promise. :)

When I try to open http://www.lastos.or...v3.23_ppApp.zip in a browser, it doesn't work either (the same for other download links on that site):

Not Found

The requested URL /team/LastOS/Repository/CCleaner_v3.23_ppApp.zip was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.



#40 The Freezer

The Freezer
  • Members
  • 8 posts
  • Location:NE Ohio
  •  
    United States

Posted 16 October 2012 - 09:28 AM

When I try to open http://www.lastos.or...v3.23_ppApp.zip in a browser, it doesn't work either (the same for other download links on that site):

LOL, that was my fault -- sorry about that. I had done some site housecleaning this past weekend; and I moved many of the public files and I only changed the main listing but didn't update any of the others' postings till yesterday. I changed the string from "www.lastos.org/team/LastOS/Repository/" to "www.lastos.org/team/repository/". For example, the new links for those files are now: http://www.lastos.or...v3.23_ppApp.zip or http://www.lastos.or..._v3.23_ppApp.7z

But to be honest, I never checked to see if an update to re7zip had been released so I could test it again.

Still I had assumed any (valid) http-file would do. Are you thinking perhaps there is something else wrong with those particular files of mine? They are typical archives in those formats. And the 7z one was not created using solid-mode either, which means it should be even easier/quicker to access files inside the archive.

Or maybe you're thinking it's the server I'm using? I don't know.

Anyway, maybe give it another go with those new links and see what you think now.

Thanks

Edited by The Freezer, 16 October 2012 - 09:39 AM.


#41 TheHive

TheHive

    Platinum Member

  • .script developer
  • 4135 posts

Posted 22 October 2012 - 06:33 AM

http://betanews.com has an article on this re7zip tool.

re7zip remotely extracts files from online archives Review By Mike Williams
http://betanews.com/...nline-archives/

Screenshot:
re7zip remotely extracts files from online archives.png

#42 Nuno Brito

Nuno Brito

    Platinum Member

  • Team Reboot
  • 10441 posts
  • Location:boot.wim
  • Interests:I'm just a quiet simple person with a very quiet simple life living one day at a time..
  •  
    European Union

Posted 22 October 2012 - 08:06 AM

And someone reviewed this tool as a Mac program as well. Look here: http://mac.softpedia...ls/re7zip.shtml

#43 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 13443 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 22 October 2012 - 08:37 AM

And someone reviewed this tool as a Mac program as well. Look here: http://mac.softpedia...ls/re7zip.shtml

Not really.
That someone DESCRIBED the tool, he (she? :unsure:) did NOT review it.

:cheers:
Wonko

#44 Nuno Brito

Nuno Brito

    Platinum Member

  • Team Reboot
  • 10441 posts
  • Location:boot.wim
  • Interests:I'm just a quiet simple person with a very quiet simple life living one day at a time..
  •  
    European Union

Posted 07 May 2013 - 06:34 PM

A nice review from PC advisor can be found at http://www.pcadvisor...8736/re7zip-11/

 

:cheers:



#45 The Freezer

The Freezer
  • Members
  • 8 posts
  • Location:NE Ohio
  •  
    United States

Posted 27 October 2013 - 04:58 PM

Still tanks on opening the archives, though... :dubbio:



#46 Nuno Brito

Nuno Brito

    Platinum Member

  • Team Reboot
  • 10441 posts
  • Location:boot.wim
  • Interests:I'm just a quiet simple person with a very quiet simple life living one day at a time..
  •  
    European Union

Posted 27 October 2013 - 08:38 PM

Which archives? :huh:



#47 The Freezer

The Freezer
  • Members
  • 8 posts
  • Location:NE Ohio
  •  
    United States

Posted 28 October 2013 - 09:39 PM

When I do this:

java -jar re7zip.jar /t=SEVEN_ZIP /a=http://sstek.vergitek.com/team/library/CCleaner_v4.06.4324_ppApp.7z /e=ppApp.jpg /o=ppApp.jpg

I get this:

Opening HTTP archive 'http://sstek.vergitek.com/team/library/CCleaner_v4.06.4324_ppApp.7z'.
Failed to open archive 'http://sstek.vergitek.com/team/library/CCleaner_v4.06.4324_ppApp.7z'.

Same problems as last year, even using /t=SEVEN_ZIP instead of /t=7z as the "help" says to do because using /t=7z gives the same error as before. So I'm stumped that it's even been updated. I appear to be using v1.1 but there's no easy way to tell if I'm using the most recent version either (or that 1.1 is even the most recent).

 

Am I the only one who can't get this to work?



#48 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12688 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 21 December 2013 - 05:13 PM

When I do this:

java -jar re7zip.jar /t=SEVEN_ZIP /a=http://sstek.vergite...6.4324_ppApp.7z /e=ppApp.jpg /o=ppApp.jpg

I get this:

Opening HTTP archive 'http://sstek.vergite...4324_ppApp.7z'.
Failed to open archive 'http://sstek.vergite...6.4324_ppApp.7z'.

Same problems as last year, even using /t=SEVEN_ZIP instead of /t=7z as the "help" says to do because using /t=7z gives the same error as before. So I'm stumped that it's even been updated. I appear to be using v1.1 but there's no easy way to tell if I'm using the most recent version either (or that 1.1 is even the most recent).

 

Am I the only one who can't get this to work?

 

Try to open "http://sstek.vergitek.com/team/library/CCleaner_v4.06.4324_ppApp.7z" directly in a browser. You get a message about "Does not exist" :dubbio:

 

@Nuno: Just a reminder: Two weeks ago I put an updated version onto the SVN which can handle WIMs.

 

Peter :cheers:



#49 Icecube

Icecube

    Gold Member

  • Team Reboot
  • 1062 posts
  •  
    Belgium

Posted 23 January 2014 - 01:36 AM

When I do this:

java -jar re7zip.jar /t=SEVEN_ZIP /a=http://sstek.vergite...6.4324_ppApp.7z /e=ppApp.jpg /o=ppApp.jpg

I get this:

Opening HTTP archive 'http://sstek.vergite...4324_ppApp.7z'.
Failed to open archive 'http://sstek.vergite...6.4324_ppApp.7z'.

Same problems as last year, even using /t=SEVEN_ZIP instead of /t=7z as the "help" says to do because using /t=7z gives the same error as before. So I'm stumped that it's even been updated. I appear to be using v1.1 but there's no easy way to tell if I'm using the most recent version either (or that 1.1 is even the most recent).

 

Am I the only one who can't get this to work?

 

I have a clue why re7zip has problems with this 7zip file.

 

I guess this file is valid test case (it is a 7zip file): http://sstek.vergite....22.0_ppApp.apz

# Trying to extract folder.gif from the remote 7zip archive.
$ java -jar re7zip.jar -t=SEVEN_ZIP -a=http://sstek.vergitek.com/files/ssCleaner_v14.1.22.0_ppApp.apz -e=folder.gif -o=folder.gif
Opening HTTP archive 'http://sstek.vergitek.com/files/ssCleaner_v14.1.22.0_ppApp.apz'.
Failed to open archive 'http://sstek.vergitek.com/files/ssCleaner_v14.1.22.0_ppApp.apz'.

# Trying to extract folder.gif from the local 7zip archive.
$ java -jar re7zip.jar -t=SEVEN_ZIP -a=ssCleaner_v14.1.22.0_ppApp.apz -e=folder.gif -o=folder.gif
Opening FILE archive 'ssCleaner_v14.1.22.0_ppApp.apz'.
Archive 'ssCleaner_v14.1.22.0_ppApp.apz' is open.
Extracting file 'folder.gif' ...
Error extracting item: UNSUPPORTEDMETHOD
Done. Processed in 0 minutes and 0 seconds.


re7zip relies for its extraction code on 7-Zip-JBinding library.

This library only supports 7-zip 4.xx. I guess your 7zip file is made with 7-zip 9.xx.

Now the good news, 9.xx support should be available soon:

 

 

Release 9.XX-2.00alpha (deadline: 1.02.2014)

  • Merge all from 4.xx branch
  • Bind 9.20 (current stable release)
  • Bind all attributes during compression
  • Implement archive update
  • Improve API documentation
  • Switch to new web site
  • Reimplement exception stack trace printing first/last "caused by" and first/last "potential caused by" exception stack traces

http://sourceforge.n...title=Main_Page

 

 

 

Try to open "http://sstek.vergitek.com/team/library/CCleaner_v4.06.4324_ppApp.7z" directly in a browser. You get a message about "Does not exist" :dubbio:

 

@Nuno: Just a reminder: Two weeks ago I put an updated version onto the SVN which can handle WIMs.

 

Peter :cheers:

It is not in svn (at least not on Google code).

 

Recently there was a new release of 7-Zip-JBinding that supports WIM:

 

16 Januar 2013: 7-Zip-JBinding Release: 4.65-1.06rc-extr-only

Release candidate, extraction only, cross-platform, based on 7zip/p7zip 4.65

  • Feature: WIM format support + tests
  • Feature: Initialization performance boost. Don't delete extracted native libraries in the temporary directory (specified by -Djava.io.tmpdir=<dir>) and use those later during subsequent 7-Zip-JBinding initializations.
  • Test: Test cross-platform encoding functionality
  • Bugfix: Get ride of the dependency to USER32.DLL improving performance and robustness
  • Bugfix: 7-Zip-JBinding compiles now with gcc 4.7 (Bug ID: 3593757)
    Special thanks to Daniel Santos for the provided patch!
  • Bugfix: Simple Interface returns wrong CRC (Bug ID: 3535546)
    Special thanks to M. Hamer

http://sevenzipjbind.sourceforge.net/

 

 

Attached is a new test version (remove the .txt file extension and extract those 2 files with 7-zip). By updating 7-Zip-JBinding version to 4.65-1.06rc-extr-only, we should have WIM support now (not tested, no time atm).

 

The 7-zip support for 7z files created with 7-zip 9.xx is not in here yet, but specifying "7z" instead of "-t=SEVEN_ZIP" should work now (for some reason the uploaded version didn't have this fix yet, while is was already in svn for a long time).

$ java -jar re7zip.jar -v

re7zip version:               1.2-test
re7zip project page:          http://code.google.com/p/re7zip/
re7zip download page:         http://reboot.pro/files/file/224-re7zip/

7-Zip-JBinding version:       4.65-1.06rc-extr-only
7-Zip-JBinding project page:  http://sevenzipjbind.sourceforge.net/


$ java -jar re7zip.jar -h

Usage:    java -jar re7zip.jar [OPTIONS]

Options:
          /t  -t    archive filetype:
                      zip, tar, split, rar, lzma, iso, hfs, gzip, cpio, bzip2,
                      7z, z, arj, cab, lzh, chm, nsis, deb, rpm, udf, wim, xar,
          /a  -a    archive filename or URL location of archive
          /e  -e    filename to extract out of the archive
          /o  -o    output filename for the extracted file
          /v  -v    show version info

Example:
          java -jar re7zip.jar /t=iso
                               /a=http://test.com/test.iso
                               /e=some\file.txt
                               /o=file.txt

          java -jar re7zip.jar -t=iso
                               -a=http://test.com/test.iso
                               -e=some/file.txt
                               -o=file.txt

@pscEx

Can you check if this version runs fine?

According too http://stackoverflow...isfiedlinkerror the java.lang.UnsatisfiedLinkError should be fixed in the new version.

Attached Files


  • The Freezer likes this

#50 Icecube

Icecube

    Gold Member

  • Team Reboot
  • 1062 posts
  •  
    Belgium

Posted 23 January 2014 - 01:40 AM

Attached is the second part of the new test version (remove the .txt file extension and extract those 2 files with 7-zip :frusty:  the stupid forum software doesn't allow such "big" files and doesn't want to attach my files when I let them end with .001 and .002).

Attached Files







Also tagged with one or more of these keywords: udf, iso, remote, http, 7zip

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users