Hi,
We have a web application which is hosted on cloud server.
Our clients want to upload files using this application; to the computer which is in their own network. How can I achieve this using C#?
Means, e.g. Our application is hosted on a cloud server A.
Client is using our application from his/her computer B and client wants to save/upload a file to computer C which is in network/LAN with computer B (from which client is using/accessing application). SO, computer B and C are in network. But the application by which client needs to upload/save file to B is hosted on C which is a cloud server.
Thank you.
Any help would be appreciated.
Nitin SontakkePosted Jan 1, 2023, 6:42 AM
Not too sure if I understand this clearly, but there are always ways to achieve this.
You mention that B and C are in same network but A is a cloud server.
Considering the fact that the file from B is reaching C via A, B and C being in same network is inconsequential because you are bypassing that path and as such it is useless to you.
File from B is being transfereed to A by http protocol. There must be some mechanism (for example, ftp share on C) by which A can copy the file on C through http or ftp protocol.
If latency is acceptable, a scheduled task on C can pick files from A (if and when available) and copy it to itself and probably erase them from A.
From what I understand the data must travel through wire (http / ftp) only.