Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / April 2005

Tip: Looking for answers? Try searching our database.

POSTING Large Files to a WebService 1.1

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Harry Whitehouse - 08 Apr 2005 07:23 GMT
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/default.asp?url=/library/en-us/cpgenref/html/g
ngrfhttpruntimesection.asp


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

http://www.codeproject.com/cs/webservices/SplitMergeWebService.asp

Has anyone else had success with this?

TIA

Harry
Selden McCabe - 12 Apr 2005 14:50 GMT
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

> 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
[quoted text clipped - 14 lines]
>
> Harry
Selden McCabe - 13 Apr 2005 01:38 GMT
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/UserSamples/Details.aspx?SampleGuid=DD5E4A38-
7F5B-45E0-9C36-64B987947C20


Good luck!

---Selden

>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).
[quoted text clipped - 24 lines]
>>
>> Harry

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.