Java Download and Unzip file?

Discussion in 'Programming General' started by server guy, Oct 11, 2010.

Java Download and Unzip file?
  1. Unread #1 - Oct 11, 2010 at 4:05 AM
  2. server guy
    Joined:
    Jun 3, 2007
    Posts:
    578
    Referrals:
    1
    Sythe Gold:
    0

    server guy Forum Addict

    Java Download and Unzip file?

    used to have something like this awhile ago and im in need of one.


    what im looking for a .jar or the .java/.class files needing it to download a .zip from a direct link and extract it to a specified directory.

    does anyone have something like this lying around or could whip one up for me?
     
  3. Unread #2 - Oct 11, 2010 at 5:26 PM
  4. ferenheit
    Joined:
    Jul 21, 2010
    Posts:
    207
    Referrals:
    0
    Sythe Gold:
    0

    ferenheit Active Member
    Banned

    Java Download and Unzip file?

    would winrar work?
     
  5. Unread #3 - Oct 11, 2010 at 6:06 PM
  6. Zed'
    Joined:
    Oct 4, 2010
    Posts:
    93
    Referrals:
    0
    Sythe Gold:
    0

    Zed' Member

    Java Download and Unzip file?

  7. Unread #4 - Oct 12, 2010 at 2:03 PM
  8. server guy
    Joined:
    Jun 3, 2007
    Posts:
    578
    Referrals:
    1
    Sythe Gold:
    0

    server guy Forum Addict

    Java Download and Unzip file?

    think before you post please, winrar simply just unzips/unrars formats it doesn't fetch from a certain url download and extract it where it needs to go.
     
  9. Unread #5 - Nov 23, 2010 at 11:44 AM
  10. iLike
    Joined:
    Nov 23, 2010
    Posts:
    5
    Referrals:
    0
    Sythe Gold:
    0

    iLike Newcomer

    Java Download and Unzip file?

    You could use the ZipInputStream the Java api provides. Simply make a HttpURLConnection to a webserver and download the file then open a FileInputStream and read it into a ZipInputStream.
     
< need autoclicker in loop [python??] | A challenge. >

Users viewing this thread
1 guest


 
 
Adblock breaks this site