Kinook Software Forums

Go Back   Kinook Software Forums > Visual Build Professional > [VBP] General Discussion

Thread Tools Rate Thread Display Modes
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: which is referenced by rfc2388). Any help is appreciated, thanks!
Reply With Quote
Old 09-28-2011, 04:55 PM
kinook kinook is online now
Join Date: 03-06-2001
Location: Colorado
Posts: 5,797
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:

Reply With Quote
Old 10-03-2011, 03:23 PM
kinook kinook is online now
Join Date: 03-06-2001
Location: Colorado
Posts: 5,797
Please download and install from and try again (the latest installer contains a patch to the networking component which should resolve this problem). Thanks.
Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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 11:59 AM.

Copyright 1999-2021 Kinook Software, Inc.