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

  • Home
  • SEARCH
  • 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 4020980
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T10:17:43+00:00 2026-05-20T10:17:43+00:00

Basically I’m looking for a best way to store partial uploads on server. Files

  • 0

Basically I’m looking for a best way to store partial uploads on server. Files are going to be uploaded chunk by chunk. Chunks may come in parallel and in arbitrary order. I will need to temporarily store them somewhere in somewhat form and then construct complete file out of uploaded chunks. I’ve got some ideas of how to do that, but I wonder if there is some best practice already, or a standard, or RFC of some kind..?

UPDATE:

Upload will happen via HTTP.

  • 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-20T10:17:44+00:00Added an answer on May 20, 2026 at 10:17 am

    This problem has been solved many times before. Use BITS, Torrents, FTP etc

    The basics are:

    > session initialisation

    > send file name, chunk size, number of chunks, hash of each chunk

    > send chunk(s) when signalled. Each chunk starts with chunk index number

    < receive file name etc

    < allocate empty file of correct name and size

    < allocate completion file (say name.status) and have one int per chunk. These represent percent complete of that chunk

    < signal to start chunks at required indexes

    << As each chunk is being received, save into allocated file at correct location

    << As each chunk is completed confirm hash. If wrong mark as 0% again

    < when all chunks are received remove name.status and unlock allocated file

    Some systems use large chunks and put file name, size etc at front of all chunks, So chunks are independent and can be received without session initiation

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

Sidebar

Related Questions

Basically I'm looking for the best way to remove the need to hard code
Basically I'm going to go a bit broad here and ask a few questions
Basically, i want my site to aggregate a lot of rss feeds and store
Basically, I'm just looking for pointers here. Ideally, I'd just supply a GPS coordinate
Basically I have this server app I built in vc#, and for some reason
Basically what I want to do it this: a pdb file contains a location
Basically, something better than this: <input type=file name=myfile size=50> First of all, the browse
Basically I have some code to check a specific directory to see if an
Basically, I would like a brief explanation of how I can access a SQL
Basically I am trying to restart a service from a php web page. Here

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.