Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / December 2005

Tip: Looking for answers? Try searching our database.

Very large file upload using WS(E)

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Claus Konrad - 02 Dec 2005 08:26 GMT
Hi

I'm presented with the issue of uploading 250+MB files to a server, preferably using a webservice.To do this - I'm currently making use of DimeAttachments, as this allows for large file attachment. I'm currently experiencing a file limit imposed by the system (clientside ?) of 128MB in a single attachment. Even the Attachment.ChunkSize = 5MB.

Now - before I am starting to roll my own "protocol", sending the file in parts manually; I would like to hear of experiences in this field.

/Claus Konrad
n33470 - 02 Dec 2005 17:30 GMT
Claus,

Before you roll your own code, look into the new file transfer protocol
built in to WSE 3.0.   It uses a new optimized file transfer technique
called MTOM, this is not the same as the DIME attachment process in
previous versions of WSE.   I'm not sure if there are file size
limitations, but it's worth investigating.  There is a quickstart
example installed with WSE 3.0 that goes over the implementation
details.

I've used DimeAttachments in previous versions of WSE, and the MTOM
design is much more elegant, by a long shot!  In a nutshell, whenever
you use a webmethod paramater, or return value of byte[], you are
executing a file transfer under the covers.

--steve
Julie Lerman - 03 Dec 2005 15:17 GMT
not only that, but the transfer is much more efficient - much smaller on the
wire.

You can also combine this with file compression. Pre-VS2005, I have been
using Xceed's Streaming Compression library to compress data returned by a
web service. VS2005 now has file compression in the System.IO namespace.

julie lerman

> Claus,
>
[quoted text clipped - 12 lines]
>
> --steve

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.