Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Oct 31, 2010
  1. Bump version number

    authored
  2. Set INTERNAL version number

    authored
  3. Bump version number

    authored
  4. Update User-agent string

    authored
  5. Bump version number

    authored
  6. Delay opening file until there is data to write

    authored
    Fixes issue #19.
  7. Restore INTERNAL version number

    authored
  8. Bump version number

    authored
  9. Tweaks to ivanov's code

    authored
  10. @ivanov

    Added -c option (--continue)

    ivanov authored committed
    interrupted downloads will properly resume and append to the previously downloaded data, instead of overwriting the file.
    
    There's some error checking - if the length of the file to be download matches the length of the previously downloaded data, we report that this file has already been downloaded and do nothing.
    
    If there is some other HTTP 416 'Requested range not satisfiable' error, we simply re-download the whole file (reverting to the original functionality)
    
    All other HTTP errors are simply raised.
    
    Resuming does not override -w (--nooverwrite), since it is not clear what should happen if file on disk is larger than file to be downloaded.
    
    Thus, -c does nothing if -w is present.
  11. Restore INTERNAL version number

    authored
  12. Bump version number

    authored
  13. Restore "INTERNAL" version number

    authored
  14. Bump version number

    authored
Something went wrong with that request. Please try again.