By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,950 Members | 1,008 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,950 IT Pros & Developers. It's quick & easy.

Http file transfer ("exe")

P: n/a
I am writing a "Windows Update" type application where via Web Services the client checks with the Server if he needs to download a newer version of a set of DLLs and EXE

If there is a newer version, I need to download the file from the server to the client
I wonder what is the best way to download a EXE without executing it when it arrives on the client

I have tried to using WebRequest and WebResponse, Stream, BinaryReader and BinaryWriter to do it, but got kinda stuck with it.. Can anyone tell me if i am on the right track and maybe show me an exemple on how to transfer "exe" files via http or redirect me to a site with information on transfering exe files and not txt files

/Ulri
---
Posted using Wimdows.net NntpNews Component - Posted from .NET's Largest Community Website: http://www.dotnetjunkies.com/newsgroups/
Jul 21 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
"uballing" <ubh@-NOSPAM-rehfeld.dk> wrote in message
news:<#z**************@TK2MSFTNGP11.phx.gbl>...
I am writing a "Windows Update" type application where via Web Services the client checks with the Server if he needs to download a newer version of
a set of DLLs and EXE.
If there is a newer version, I need to download the file from the server to the client.
I wonder what is the best way to download a EXE without executing it when it arrives on the client.
I have tried to using WebRequest and WebResponse, Stream, BinaryReader and

BinaryWriter to do it, but got kinda stuck with it.. Can anyone tell me if i
am on the right track and maybe show me an exemple on how to transfer "exe"
files via http or redirect me to a site with information on transfering exe
files and not txt files.

http://www.atozed.com/indy/Demos/Indy10.iwp

Intro Stream demo. Give it an hour or so as Im updating it to refelect
namespace changes.

It uses Indy, but its free and open source:

http://www.indyproject.org/indy.html
Jul 21 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.