Hi,
Without knowing your situation, I would suspect that the VB.Net way would
be to use some infrastructure that provides reliable file transmission, and
call that software's API. Barring that, if you can get both sides to
implement a custom protocol of your design, you can think about building a
web service interface that lets a caller split files on the sending side,
transmit the file portions in chunks using DIME/SOAP with Attachments, and
have the server on the called side handle the re-assembly. There isn't a
built in function for this, as it is a tremendously complex problem.
Have you considered FTP? Web Services aren't optimal for file or batch
operations.
Regards
Dan Rogers
Microsoft Corporation
--------------------
From: "Al" <co********@cox.net>
Subject: transmitting files in chunks....
Date: Mon, 6 Dec 2004 19:53:23 -0600
Lines: 16
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Message-ID: <em**************@TK2MSFTNGP12.phx.gbl>
Newsgroups: microsoft.public.dotnet.framework.webservices
NNTP-Posting-Host: ip24-252-77-50.no.no.cox.net 24.252.77.50
Path:
cpmsftngxa10.phx.gbl!TK2MSFTFEED01.phx.gbl!TK2MSFT NGP08.phx.gbl!TK2MSFTNGP12
.phx.gbl
Xref: cpmsftngxa10.phx.gbl
microsoft.public.dotnet.framework.webservices:7929
X-Tomcat-NG: microsoft.public.dotnet.framework.webservices
Searching for a way to upload binary files from client to server, I came
across the following link:
http://www.dotnetextreme.com/code/BinaryUpload.asp
With this precaution:
Editor's note - "Although this will work, be advised of scalability
problems. A better approach would be to create a separate Windows Service,
pass the file to that, split it into chunks, transmit the chunks one by one
over a Web service and reconstruct it at the other end."
So what is the VB.NET appoach for uploading files in chunks?
Thanks in advance for any advice.