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 8225281
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T15:21:50+00:00 2026-06-07T15:21:50+00:00

Do any one knows how to implement file sending via http from client to

  • 0

Do any one knows how to implement file sending via http from client to client. This is similar example but can not find how to implement it: http://jetbytes.com/
Any ideas?

  • 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-06-07T15:21:52+00:00Added an answer on June 7, 2026 at 3:21 pm

    Guess you could just copy their behaviour, which is roughly the following.

    Let’s name the three parts of the exchange : Sender (in a browser), Server (well… server code), Receiver (in a browser).

    • Sender UI: the user selects a file ;
    • Sender: periodically (every second here), update the server saying that Sender is ready to send the file. While the Server is not ready, it just answers “I am not ready” to the Sender ;
    • Receiver GETs the generated URL ;
    • Sender (as before) updates the server saying that it is ready to send the file. This time the server answers “I am ready” ;
    • Sender simply POST the file (as it would do in the most simple HTML form).
      • The Server relays the POST data to the Receiver (with relevant headers) ;
      • This operation takes time, so the following operations are just meant to update the progress bar Sender-side.
    • Sender asks periodically (every second here) how much data the Server got so far ; the Server answers how much it has received and how much it expects until the end.
    • Sender updates its progress bar.
    • …
    • Sender asks how much data the Server got so far ; the Server answers it is done.
    • Closing routines on three parts of the exchange.

    Of course there must be room for improvement :

    • Periodic updates could be replaced by another technology (see http://en.wikipedia.org/wiki/Push_technology) ;
    • If the transfer is interrupted before it finishes, make it possible to continue where the transfer got interrupted ;
    • …many other aspects

    For the implementation, much of the work will be on the client side, and everything described here is achievable using jQuery. On the server, the two goals are transferring data and answering to the Sender. You will have to define yourself a lightweight protocol to say “I am [not] ready”, “I got N bytes so far”, “I am done”.

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

Sidebar

Related Questions

Can any one please let me know how to implement XLIFF file format in
Can anyone let me know how to implement this feature specified at http://vimeo.com/24475654 Specially
I want to implement seek functionality for MpegTs file playback. Could any one suggest
Does any one know how to implement In App SMS functionality in iPhone SDK
Anyone knows how i can implement re-arrangable divs (Drag the divs around on the
I'm trying to implement the following feature: I want just one css file to
Does anyone know if it is possible to implement playback of an audio file
Does anyone knows how I might be able to implement variable arity for functions
Assume I have a regular fixed width file that is sorted on one of
The application I am working inputs lot of data from file import and updates

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.