Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7609349
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T01:09:02+00:00 2026-05-31T01:09:02+00:00

My application regularly upload large files. Regardless of their size, all files are compressed

  • 0

My application regularly upload large files. Regardless of their size, all files are compressed before uploaded to server.

Part of this project requirements is to resume nicely after crash/power failure, so right now compression is done this way:

  • large-file.bin sliced in N slices
  • Compress each slice & upload it

In case of crash, I pickup from the last slice.

To optimize upload speed, I’m currently looking into sending the whole file (uploads are resumed if failed) instead of sending slices one by one, so I’m looking into compressing the whole file instead of compressing each slice.

I’m currently using 7z.dll. I wonder if it’s possible, in case of power failure, to tell 7z to resume compression.

I know I could always implement my own compression routine and implement such feature, but before going that road I wonder if it’s possible to do that in 7z (which already have an excellent compression ratio)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T01:09:03+00:00Added an answer on May 31, 2026 at 1:09 am

    As far as I know, no compression algorithm supports that. You will likely have to recompress the source file from the beginning every time, discarding any output bytes until you reach the desired resume position, and then you can send the remaining output bytes from that point on.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm writing a P2P application. Peers regularly ping a main server to update their
I have an application that reads large files from a server and hangs frequently
I have a regular .NET application. In this case I have a part that's
Is there some open source file upload (application) solution for a scenario like this?
I am creating an application that uses Quartz.NET to automatically download and upload files
I'm writing a GUI application that regularly retrieves data through a web connection. Since
Application : HTA (therefore IE) This is an application that uses SendKeys to populate
I'm creating an Application to upload photos to an album on a Fan Page.
I'm switching from regular files to zip files doing an upload, and was told
In order to take regular backups, we want to compress and upload files from

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.