HighTechTalks DotNet Forums  

POSTING Large Files to a WebService 1.1

ASP.net Web Services microsoft.public.dotnet.framework.aspnet.webservices


Discuss POSTING Large Files to a WebService 1.1 in the ASP.net Web Services forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Harry Whitehouse
 
Posts: n/a

Default POSTING Large Files to a WebService 1.1 - 04-08-2005 , 02:23 AM






Like others, I have notices that I can't seem to post more than a ~2 MB
string of data to my Webservice. If I try to post more than that, I get a
500 return code. (I'm POST'ing image files in BASE64 format).

I tried this article but it seemed to break everything -- even small files
couldn't be posted:

http://msdn.microsoft.com/library/de...imesection.asp

This writer gave up and wrote a chunk based POST'ing routine:

http://www.codeproject.com/cs/webser...WebService.asp

Has anyone else had success with this?

TIA

Harry



Reply With Quote
  #2  
Old   
Selden McCabe
 
Posts: n/a

Default Re: POSTING Large Files to a WebService 1.1 - 04-12-2005 , 09:50 AM






I also have struggled without success on this problem. (In my case, I've
tried to upload a 25 MB Access database file to my web server).

I've received two suggestions, both of which were also broken. I've found
numerous FTP solutions for .Net, all of which were also broken.

Why should this be such a difficult problem for .Net?

---Selden


"Harry Whitehouse" <harry (AT) envmgr (DOT) com> wrote

Quote:
Like others, I have notices that I can't seem to post more than a ~2 MB
string of data to my Webservice. If I try to post more than that, I get a
500 return code. (I'm POST'ing image files in BASE64 format).

I tried this article but it seemed to break everything -- even small files
couldn't be posted:

http://msdn.microsoft.com/library/de...imesection.asp

This writer gave up and wrote a chunk based POST'ing routine:

http://www.codeproject.com/cs/webser...WebService.asp

Has anyone else had success with this?

TIA

Harry




Reply With Quote
  #3  
Old   
Selden McCabe
 
Posts: n/a

Default Re: POSTING Large Files to a WebService 1.1 - 04-12-2005 , 08:38 PM



I found a very cool FTP solution which worked very well for me.

If you can FTP to your web server, perhaps you could use FTP to upload some
large file or chunk of data, and then deal with it as a local file in your
web service.

The FTP class is at:
http://www.gotdotnet.com/Community/U...6-64B987947C20

Good luck!

---Selden


"Selden McCabe" <seldenm (AT) msn (DOT) com> wrote

Quote:
I also have struggled without success on this problem. (In my case, I've
tried to upload a 25 MB Access database file to my web server).

I've received two suggestions, both of which were also broken. I've found
numerous FTP solutions for .Net, all of which were also broken.

Why should this be such a difficult problem for .Net?

---Selden


"Harry Whitehouse" <harry (AT) envmgr (DOT) com> wrote in message
news:eZRy5NAPFHA.3292 (AT) TK2MSFTNGP12 (DOT) phx.gbl...
Like others, I have notices that I can't seem to post more than a ~2 MB
string of data to my Webservice. If I try to post more than that, I get
a 500 return code. (I'm POST'ing image files in BASE64 format).

I tried this article but it seemed to break everything -- even small
files couldn't be posted:

http://msdn.microsoft.com/library/de...imesection.asp

This writer gave up and wrote a chunk based POST'ing routine:

http://www.codeproject.com/cs/webser...WebService.asp

Has anyone else had success with this?

TIA

Harry






Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.