473,388 Members | 1,383 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,388 software developers and data experts.

Client Side processing of downloaded application/octet-stream files

BlankThere are a number of good examples illustrating how an http client can send http mulipart/form-data files to a server using the dotnet.framework.aspnet support. I haven't been able to find a good example of client side processing of multiple downloaded files. I believe the content type is APPLICATION/OCTET-STREAM. Can you point me to a good example of this? Our application must be able to send and receive multiple files in one stream. Is it possible to use the WebClient class? Thanks for your help.

Best Regards,

Paul J. Lay
Nov 18 '05 #1
2 2871
Hi Paul,

From your description, you 're wondering some certain dotnet buildin
classes/componetns to perform the multi-files uploads and downloads
operatons which similar with what can be done via web page's
fileupload/download, yes?

As for this question, here are my suggestions;
1. AS for the file download, it is limited that we can make one
httpwebrequest and retireve one download file each time. Just like what we
do file download via web page. There are some sample codes in the following
weblinks.

2. About the upload, when we use a webpage to upload files, we can put on
mulit inputfile html controls and upload multi-files in one post request.
However, as far as I've searched, I haven't found any sample or techarticle
demostrate on uploading multi-files via webclient or httpwebRequest class.
All I've found is upload one file eachtime. I'm not sure the behavior via
the webclient class or uploading through web page in IE is different, and
currently I'm consulting some further experts on this and will update you
as soon as I've got any further reference. Thanks.

Tech articles on performing file uploading and downloading applied the
webclient or httpWebrequest/HttpWebResponse classes
#Uploading and Downloading Files
http://www.c-sharpcorner.com/Interne...esponseMDB.asp

#MultipartForm Uploader
http://www.c-sharpcorner.com/Code/20...DotNetBugs.asp
Certain reference in MSDN:
#WebClient.UploadFile Method (String, String)
http://msdn.microsoft.com/library/en...NetWebClientCl
assUploadFileTopic1.asp?frame=true

#WebClient.DownloadFile Method
http://msdn.microsoft.com/library/en...NetWebClientCl
assDownloadFileTopic.asp?frame=true
Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspx


Nov 18 '05 #2
Hi Paul,

Have you had a chance to check out the suggestions in my last reply or have
you got any further ideas on this issue? From my further research, the
multi-file upload via webclient or httpWebrequest(I think webclient is much
more simple to use) need to implement by upload a single file each request
one by one. As for the Multi-file upload via web page(the intput file
elements), it seem has been handled at serverside internally before we
process it in asp.net and which is hard to implement when using the
webclient or httpWebRequest component. Anyway, if you have anything
unclear, please feel free to post here. Thanks.

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspx

Nov 18 '05 #3

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

Similar topics

3
by: Michael | last post by:
Our web application currently uses MSXML 4.0 to perform XSL translation of our XML document into HTML which is then delivered to the client's browser. By specifying the XSL file used for...
0
by: Yaseen | last post by:
I am not sure if someone can help me, but please bare with me for a second... My problem is to retreive the Client's Printer Collection for a web application and then print to the client's default...
18
by: cjl | last post by:
Hey all: I know that it is silly in the age of Google to 'lose' something on the internet, but I recently checked out a project that had implemented a database with a subset of SQL in pure...
6
by: Ken Allen | last post by:
I am relatively new to .Net and C#, but I hav ebeen programing in other languages and done some COM work for a number of years. I am attempting to understand how to map an older program...
3
by: Larry David | last post by:
Hi, I'm just trying to wrap my mind around the ASP.NET model. Let me walk you through a trivial scenario: Let's say I have a form containing a text box where the user enters his name. It also...
3
by: Simon Brooke | last post by:
I've been doing XSL transforms, converting XML to HTML, server side since 2000. In those days, clients which could do the transformation client side didn't exist, so whether to transform...
1
by: intrepid_dw | last post by:
All: I have prepared a .NET 1.1 client application that consumes a remote, public web service. All the functions work as expected, and, in general, the application has been successful for my...
1
by: Simon Brooke | last post by:
One of the things I'm messing with at present is offloading some of my XSL processing to those browsers which claim to be able to handle it. That is to say, if the client tells me it accepts either...
5
by: Ankur | last post by:
Hi Folks, I am new for this group. I want to clarify one thing what's a basic difference between Client Side Java Script and Server Side Java Script. how we can differentiate it. Why we called...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.