Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Client Side processing of downloaded application/octet-stream files

Reply
Thread Tools

Client Side processing of downloaded application/octet-stream files

 
 
Paul J. Lay
Guest
Posts: n/a
 
      04-05-2004
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


 
Reply With Quote
 
 
 
 
Steven Cheng[MSFT]
Guest
Posts: n/a
 
      04-06-2004
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




 
Reply With Quote
 
 
 
 
Steven Cheng[MSFT]
Guest
Posts: n/a
 
      04-08-2004
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

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Difference between server-side and client-side XSL processing Simon Brooke XML 1 04-03-2007 11:54 AM
Client side script after client side validation with asp.net 2.0 Boss302 ASP .Net 0 11-21-2006 08:43 AM
Mixing client-side and server-side processing: How? Richard ASP .Net 2 05-12-2006 12:56 PM
how client-side presentation code interact with server-side processing code? jrefactors@hotmail.com Javascript 1 12-08-2004 01:00 AM
how client-side presentation code interact with server-side filter/sort processing code? jrefactors@hotmail.com Javascript 0 12-07-2004 11:15 PM



Advertisments