Download a pdf from a web application to a desktop application, in C#

Asked

Viewed 82 times

0

I have to do a job for the college using C#, with Visual Studio, where a user accesses a web application, uploads a file, and sends it to a remote desktop machine and saves it in a specific folder.

I will use ASP.NET MVC in the creation of the WEB application. My question is, how can I do, that this file is sent to a remote computer, selected by the user, and saved in a folder?

I thought to use a desktop application on the remote machine, which would receive this request and save the file in the folder, what the best type of desktop project I should develop, for this specific case?

Thanks in advance.

  • 3

    Have you ever thought about how you will make your web application "send" something to a desktop application?

  • I thought of using Sockets or FTP, but GOKU Ssjgod gave the idea of the desktop application to directly download a folder from the server.

1 answer

2

Your question is too broad........

You can create your web application to upload files to a web server.

The second part would be the most appropriate windows service, that would run in the background just as you specified, it would just have to have access to the folder on the web server and download the files to your folder to specify.

Here has a good example of this type of application.

  • Interesting. I didn’t think of this situation, of the desktop application accessing a folder on the server.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.