Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Corrupted Zip File HELP!!

  • 07-04-2003 6:20pm
    #1
    Closed Accounts Posts: 14,483 ✭✭✭✭


    This post has been deleted.


Comments

  • Registered Users, Registered Users 2 Posts: 935 ✭✭✭Mixie


    Some Zip programs, like Zip Magic, allow you to "repair" corrupted zip files. They don't actually 'fix' your files (how could they?) but they do allow you to extract all the files from the Zip, meaning if there were 100 files in the Zip, you could possibly retrieve 99 in perfect working order.


  • Closed Accounts Posts: 14,483 ✭✭✭✭daveirl


    This post has been deleted.


  • Registered Users, Registered Users 2 Posts: 3,150 ✭✭✭oneweb


    What did you use to download the file?

    Try htget (provided here)
    It's a DOS command line app, so you'll need to start it from a DOS window (otherwise it'll flash on screen and close)

    You run it using

    htget -h http://domain.com /directory/file_url

    (notice the space between domain.com and first directory)

    that -h option will tell you the size of the file on the server, so if the file on your disk is smaller, you know it's cos the download didn't finish.


    The help file is this...


    HTGET [-f] [-h] [-i] [-o <oufile>]
    [-p <portno>] [-q <referer>] <realm>] [-t <host>]
    <server> <url_path>

    Retrieves documents using the HTTP protocol from web-servers. This
    utility is designed for automatic, unattended operation (i.e. to be
    used in batch jobs).

    The downlaoded document will be saved into a file called "htget.out",
    unless the -o option is used.

    Parameters:
    -f initiate FTP file transfer
    -h download the HTTP header only
    if you haven't specified -o, the header will be printed
    to STDOUT; this is useful for problem diagnosis
    -i include the header in the output file
    this is useful for server diagnosis
    -c <outfile> lets you specify a filename where the save the data
    -p <portno> default is port 80 (the web server port)
    -q <referer> the document from which the link was launched
    usually no referer is specified
    -t <host> specify a host where the request originated; the default
    host is same as <server>. Some pages may require this.
    <server> the server name, "128.3.43.56" or "ftp.files.com"
    <url_path> the path where to download from "/index.html"
    "/" will download the server's home page

    NOTES:
    - if you specify a server using its name (and not its numeric address)
    you need to have DNS (domain name service) enabled on your machine
    - this program requires TCP/IP and WINSOCK 1.0 or later
    - HTGET uses a fixed port number for the client connection which changes
    each time the program is invoked. This allows concurrent sessions and
    rapidly following session without risk of receiving wrong data.
    h).


    HTH

    PS, you'll need to remove the .zip from the filename before it'll work.

    I can't recall if it'll resume the download, so make sure you keep a copy of the download somewhere just in case.

    Depending on the server you downloaded from, you can resume the file from where it left off.

    It is what it's.



  • Closed Accounts Posts: 999 ✭✭✭Raz


    Have you tried using winrar?
    It's a program like winzip but may be able to extract or repair the zip. Usually with a corrupt zip you get a "crc" error.
    If you're crc is wrong then the file was definitely not downloaded properly. I may have missed a few bytes or something and it threw the whole thing off. But these few bytes may not be essential, maybe just a couple of letters of text output or something.
    It can be extremely difficult to get a working extraction with a crc error though ........ well, with video files anyway!


  • Closed Accounts Posts: 931 ✭✭✭ozpass


    Have you tried pkzipfix.exe?


  • Advertisement
  • Closed Accounts Posts: 14,483 ✭✭✭✭daveirl


    This post has been deleted.


Advertisement