Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Services > POSTING Large Files to a WebService 1.1

Reply
Thread Tools

POSTING Large Files to a WebService 1.1

 
 
Harry Whitehouse
Guest
Posts: n/a
 
      04-08-2005
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
 
 
 
 
Selden McCabe
Guest
Posts: n/a
 
      04-12-2005
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" <> wrote in message
news:...
> 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
 
 
 
 
Selden McCabe
Guest
Posts: n/a
 
      04-13-2005
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" <> wrote in message
news:...
>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" <> wrote in message
> news:...
>> 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

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
URL Posting Fails in Medium Trust (3rd time posting this w/ zero replies so far) AmitKu ASP .Net 7 01-08-2007 07:31 PM
Top Posting vs. Bottom Posting scaredkitty Computer Support 37 04-06-2005 12:27 AM
Prepping Large Files for posting Jennifer Taggart Computer Support 3 07-08-2004 05:29 PM
Everytime I hover cursro over a posting, it crosses out with red mark on it.. on every posting alanb ASP .Net 2 04-23-2004 02:23 PM
Backing Up Large Files..Or A Large Amount Of Files Scott D. Weber For Unuathorized Thoughts Inc. Computer Support 1 09-19-2003 07:28 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57