473,506 Members | 17,393 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

transmitting files in chunks....

Al
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.
Nov 23 '05 #1
1 1721
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.

Nov 23 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

13
4608
by: Paul | last post by:
Hi all I have a sorting problem, but my experience with Python is rather limited (3 days), so I am running this by the list first. I have a large database of 15GB, consisting of 10^8 entries...
3
4694
by: gudia | last post by:
I am using CDO to email a file as an attachment. The receiver receives the file, but when he opens the file (tried using both Acrobat Reader 6 and 5), he gets "There was an error opening this...
6
3147
by: ArunPrakash | last post by:
Hi, I have a web application that looks for a particular string in a set of huge files( the files grow into MBs - max i have seen is 30 MB ). ( search using reg expressions ). the string can occur...
0
1111
by: Nikolay Petrov | last post by:
I need to upload big files to a web service. At client side I use the FileInput contol to get the local filename and then a binary reader to get file contents as byte array, then send this byte...
0
7220
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7105
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7479
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5617
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4702
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3188
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3178
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
757
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
410
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.