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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T12:05:12+00:00 2026-05-22T12:05:12+00:00

I want following type of functionality There are two users A and B both

  • 0

I want following type of functionality

There are two users A and B both are visiting same page
This page has a button(Send File) .
When A clicks on button an Open Dialog box should appear
When A selects a file from Open Dialog box then there should be a link appear on B’s page containing file name
When B clicks on link, a SaveAs dialog should appear and after giving name and path file download should start.

Any kind of help in this context will be appreciated !

  • 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-22T12:05:13+00:00Added an answer on May 22, 2026 at 12:05 pm

    The open dialog is acheived with the html input: <input type="file">

    The save as dialog is acheived with the html anchor: <a href="www.myserver.com/download.aspx?filename='the file'">

    After user A selects a file, you either use AJAX or the form onsubmit to upload the file via an upload.aspx page that you create.

    On user B’s machine, you use AJAX to call an updatefilelist.aspx page which returns the list of files available. Once user A’s new file has been uploaded and saved on the server, the next ping from user B’s AJAX call to updatefilelist.aspx will update the list shown on his screen to include the new file.

    Clicking on the file calls the download.aspx page with the desired filename – you need to set Response.ContentType and Response.AddHeader("Content-Disposition", "attachment:filename=""" & IO.Path.GetFileName(Request.QueryString("filename")) & """") here. The save as dialog will then automatically pop up.

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

Sidebar

Related Questions

i want the following functionality. input : this is test <b> bold text </b>
I want to create a C++ class with the following type: It can be
I have the following case where I want to accept the following routs '/type/view/23'
I want to receive the following HTTP request in PHP: Content-type: multipart/form-data;boundary=main_boundary --main_boundary Content-type:
Let's say I have a type, MyType. I want to do the following: Find
I want the following functionality using php I have a csv file. Each file
Is there a language agnostic algorithm to name tuples? Specifically, I want the following
I want following type of URL using cakephp. http://localhost/project1/controller1/action1/[{user_id:1,udid:,msg:,nick_n:Danis,post_t:2011-10-21 12:15:00,source:A}]/50 where [{user_id:1,udid:,msg:,nick_n:Danis,post_t:2011-10-21 12:15:00,source:A}] and
I want the following layout to appear on the screen: FieldName 1 [Field input
The problem is following: I want to automate the way my emacs starts. It

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.