Hi there. I am new to this forum. I would like to know how can I download a file or .exe from a server on to the client machine. My software will run on the client machine. I want to know if there is some built in functionalty in windows that I may use.
Umair.P 0 Newbie Poster
Recommended Answers
Jump to PostI don't know what your method of calling the server is, or if it is local or remote. You might want to try a web service if you can't access the file publicly. If its public it can just be a url. In the C# code, you can reference a …
Jump to PostSince there is a webservice in place. Download the file as a byte[], save it to the file system using System.IO.File. Then call Process.Start on the exe file, making sure to exit your program if it will be part of the files being updated.
All 6 Replies
dickersonka 104 Veteran Poster
LizR 171 Posting Virtuoso
Umair.P 0 Newbie Poster
LizR 171 Posting Virtuoso
dickersonka 104 Veteran Poster
Umair.P 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.