all groups > dotnet web services > april 2005 >
You're in the

dotnet web services

group:

Uploading large files form a Windows Form App


Uploading large files form a Windows Form App Fred Herring
4/29/2005 11:44:09 AM
dotnet web services:
I have a client/server application which uses webservices functions to upload
large byte arrays to the server and httpwebrequests to download the data
files. I would like to use http to also upload but am lost in how to
implement this.

basic information:
My Url looks like this
"http://144.115.108.xxx/webservice1/myvirtual/videofiles/"

I want to be able to upload a large binary file to my server called
filename.gz and place it in the videofiles folder on my server.

Up to this point, I have used webservice functions to upload data to my
server. Now I am faced with moving very large files ~300mbytes. I am
assuming http is the best way to do such heavy lifting. Can I see a simple
example of how to use httpwebrequest or fiewebrequest to move move a file to
a virtual location?

Thanks,
Fred
Re: Uploading large files form a Windows Form App erymuzuan
5/1/2005 12:00:00 AM
http is not very good or very large files, or messages. you may run into
the possibilty of lost connection. not to mention the vurnerablty you
have to expose by allowing max maxRequestSize.

my suggestion is to use tcp (WSE 2.0 for exmaple). couple with
compression and chunking


regards
erymuzuan mustapa

[quoted text, click to view]
AddThis Social Bookmark Button