Mike Martinet wrote: > > Greetings, > > Please excuse me if this message is a duplicate. I've been trying to post on > various mailing lists and not quite sure how to do it. > > I may be missing something fundamental here, but I can't find an explanation for > what I'm doing wrong. If I specify enctype="multipart/form-data" in my FORM > tag, then I get boundaries, but I get no data with > > $Request->ServerVariables( "CONTENT_TYPE" ); > $Request->BinaryRead( $Request->{ TotalBytes } ); >
You cannot get BinaryRead data with file uploads. This is deficiency in the Apache::ASP API. File uploads are processed via CGI.pm internally, and access to the data is provided via: $Request->FileUpload() Please see http://www.apache-asp.org/cgi.html#File%20Upload for more info on this topic. I have added a note about this to the API documentation. Regards, Josh _________________________________________________________________ Joshua Chamas Chamas Enterprises Inc. NodeWorks Founder Huntington Beach, CA USA http://www.nodeworks.com 1-714-625-4051 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]