I am working on an application were we want to spawn a file
upload using an event gateway. When the user submits the form, we
add the form variables to the props structure and pass it into the
event gateway using the sendGatewayMessage function. I checked and
they do exist on the Gateway side of things.
When the gateway CFC's onIncommingMessage function is called
the cffile tag throws an error saying, Invalid Content Type, CFFILE
upload requires the enctype to be set to multipart/form-data.
This does make sense in a way since the gateway runs in its
own space away from the application, hence not recognizing the form
scope. I am able to pass the form contents along but it seems the
form attributes (such as enctype) are getting lost. Anyone know of
a way to get this working in the Event Gateway? Can this be
manually set? Is it a CGI scope issue?