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
erymuzuan - 02 May 2005 02:20 GMT
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
> I have a client/server application which uses webservices functions to upload
> large byte arrays to the server and httpwebrequests to download the data
[quoted text clipped - 16 lines]
> Thanks,
> Fred