I would install an FTP server (for example, the one that was in IIS or a third-party server) on the company server. If there is a security problem, then you will want to configure SFTP (secure FTP) rather than vanilla FTP, since FTP is not an inherently secure transfer protocol. Then create a service on the hosting server to receive the file as they arrive and send them to the company server using C # /. NET FTP management. Honestly, this should be pretty simple.
Update:. After reading your question, I have the strong impression that you will NOT have a website running on the company's server. That is, you donβt need the file upload control in your web application (or you already know how to implement the one defined in the web page toolbar). Your question, as I understand it, is how to get a file from a web server to a company server.
Update 2: Added security note. Please note that this is less of a concern if the servers are in the same subdomain and will not be redirected outside the company network and / or if the data is not sensitive. At first I did not think about it, because now I am working on such a project, but our data are in no way sensitive.
source share