Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] General Discussion
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 09-28-2011, 12:53 PM
BlaveShmorby BlaveShmorby is online now
Registered User
 
Join Date: 09-27-2011
Posts: 1
HTTP Upload File ending boundary issue

Hi, I'm using an HTTP step to upload a file using the multipart/form-data post method, but I've run into an issue where the final boundary marker (------RANDOM_STUFF--) is inserted without a CRLF before it.

I'm working around it right now by appending a CRLF to the file, which works since the file size itself is never sent, but it complicates the build and I'd much rather do it in the one step I'd be able to do it in if there was a way to get that on there.

Is there an option I'm missing? Is this working elsewhere? I'm trying to upload to an ASP.NET 4.0 ashx handler and using the context.Request.Files collection. It works with the newline appended, does not without it, and I tracked it down to code in System.Web (System.Web.HttpMultipartContentTemplateParser.AtB oundaryLine() in the .NET reference source) that only considers a boundary if it's at the beginning of a line.

As far as I've been able to tell this is correct, a boundary must always occur at the beginning of a line (see: http://tools.ietf.org/html/rfc2046#section-5.1.1 which is referenced by rfc2388). Any help is appreciated, thanks!
Reply With Quote
  #2  
Old 09-28-2011, 04:55 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
If you downloaded Visual Build on or before Sept. 20, download and install again. It includes an update to the HTTP component used in Visual Build, and if there is a bug, it might be addressed in the update. If that doesn't help, please send the info requested here: http://www.kinook.com/Forum/showthread.php?t=3044

Thanks.
Reply With Quote
  #3  
Old 10-03-2011, 03:23 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
Please download and install from http://www.kinook.com/Download/VisBuildProEval.exe and try again (the latest installer contains a patch to the networking component which should resolve this problem). Thanks.
Reply With Quote
Reply


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 Off
HTML code is Off



All times are GMT -5. The time now is 05:59 PM.


Copyright © 1999-2023 Kinook Software, Inc.