Ask a Question related to ASP.NET Web Services, Design and Development.
-
Filippo #1
HOWTO download binary files [EXE & DLL]
Hi there,
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.
Can anyone recommend the best way to achieve so?
....is Web Service a good way to do so?
F.
Filippo Guest
-
Download binary file to local hard drive
If this is not the appropriate NG, please help me by telling me where I should post this question. I want to keep a collection of Word Documents... -
Best way to secure binary files
I've got certain report files on my admin section that i'd like to secure. What is the best method of doing this on the web server? These could be... -
binary files differ
Hi, On Digital Unix i observed that the binary files differ each time i compile. How to avoid this ? For eg., I wrote a test program... -
awk, sed etc on binary files
Can I use commands like sed, awk, tr etc on binary files? The file contains a string e.g. TESTSTRING=6 which I need to change to TESTSTRING=10 JL -
download binary files from database
I have used some example code to create a database in MySQL and using php I can add binary files to the database. I was under the impression that I... -
Thomas #2
Re: HOWTO download binary files [EXE & DLL]
Hi,
I'm working on the exact same problem:
My solution is
1) Poll file source webservice once in a while (every 5 seconds in my case)
2) If new file version is available, then return url to file source on a web server.
3) Download file from url using WebRequest and WebResponse, Stream, BinaryReader and BinaryWriter
My solution also to only download one copy of a file that goes to many destinations on a site. That will save bandwith/time.
Attached is a VB Console Version of my current code FileServiceWatcherConsole.vb. I also have a Windows service version if you want it.
Attached is the response (CopyRequest.xml) FileServiceWatcherConsole get when calling the web method GetRequest
Attached is the SQL Server table that holds information about the file to be copied.
- Thomas
"Filippo" <pandiani69@hotmail.com> wrote in message news:uyI72iZRDHA.2008@TK2MSFTNGP11.phx.gbl...
Hi there,
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.
Can anyone recommend the best way to achieve so?
...is Web Service a good way to do so?
F.
Thomas Guest



Reply With Quote

