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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T15:10:51+00:00 2026-05-21T15:10:51+00:00

Good day to everyone.. I’m devoloping an Asp.Net Web Application in which I have

  • 0

Good day to everyone..

I’m devoloping an Asp.Net Web Application in which I have to implement file upload, but with a little complication:

To better explain, the application is running on server “A”.. the files need to be uploaded to a completely distinct server “B”..

Once the client “C” uploads a file through the site interface, the file must actually be uploaded to server B.

Technically I already achieved this:

  • client choses the file he wants to upload from his pc, then click “upload”
  • during the postBack of the page”, the server upoloads the file without saving it
  • I pick up the fileStream from the FileUploas control and send it via ftp to server “B”;

BUT, by doing this, actually the file is transferred twice (C -> A -> B), making the user experience of the file upload longer than normal..

My question is: is it possible to open a “direct” connection between “C” and “B” through the site interface (running on server “A”), in order to perform a single transfer? Obviously, I should be able to do the same thing during download..

An alternative (at least during upload) should be that of “hiding” the double transfer by saving a temp file on server “A”, and then re-transfer it to “B” starting a separated task, so that the user will be able to perform new actions on the site after the “first” upload.

Any suggestion is greatly appreciated (even quite different solutions, I’ll then evaluate the “compatibility” with my project)

Thank you in advance,

Alberto

Note: I choose to go for FTP because the client must be able to select where he want the “B” server to be placed (he can use “our” ftp or, if he has one, send files there) and I think that FTP is the most “compatible” and “fast set up” solution, being ftp managed similarly independently to the server “B” platform.

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

    It’s not clear, what kind of connection you expect from C to be capable of making. If C can open direct connection to B, and if the server A has credentials for accessing B, the scenario can look as follows:

    1. client C establishes command channel with server A
    2. server A establishes command channel with server B
    3. the client starts preparation for data transfer. At this point C requests passive mode from server A. A immediately starts preparation for data transfer with server B and requests passive mode from server B. This A-B preparation should take place completely between the server A receives PASV command from C and when it sends response to this command. So it should be quick (2-3 seconds max, I think).
    4. Server A gets the address and port to connect to from server B and sends this data as a response to PASV command received from C.
    5. C transfers the data to B. Server A receives “Transfer complete” from B via command channel and sends the same to the client.
    6. Now server A can close command channel to server B (if needed).

    The above requires that you know details of FTP protocol and most likely implement it yourself as both client and server. And this can be quite time-consuming.

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

Sidebar

Related Questions

Good day everyone. I have an audio class, that plays a .wav file. But
Good day, I have a ASP.net MVC app that needs to upload files to
Good day, We just converted our web application .NET 1.1 to .NET 2.0. We
Good day everyone, I am building a page in ASP.NET, and using Master Pages
Good day, everyone. I found strange behavior within ASP.NET engine when it handles non-existent
Good day, I'm having a problem with asp.net 2.0 viewstate. Basically, I want to
Good morning. I have an XML file which contains lists of warning and errors
Good Day Everyone... I’m getting an unexpected WCF error complaining of Known Types which
Good day everyone. This problem was part of another one which it as been
Good day, I have this problem with Html.DropDownListFor which I can't seem to work

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.