Hi,

I am using CGI perl to upload a file on Apache webserver. I am using Multipart/form-data mime type. I am sucessfully able to do the upload using my CGI upload function. The final post is:

-----------------------------274341800629161
Content-Disposition: form-data; name="file1" ; filename="LICENSE.txt"
Content-Type: text/plain

Sun(TM)ONE Web Server Enterprise Edition 6.1 Service Pack(SP)1
(formerly iPlanet(TM) Web Server Enterprise Edition)
-----------------------------274341800629161--


However, when I try the same thing with my Application, webagent that is deployed on the Apache webserver. I am unable to do that. I have tried to replicate the same final post as without webagent enabled but for no result.

My final post request is:

-----------------------------274341800629161
Content-Disposition: form-data; name="file1"

; filename="LICENSE.txt"
Content-Type: text/plain

Sun(TM)ONE Web Server Enterprise Edition 6.1 Service Pack(SP)1
(formerly iPlanet(TM) Web Server Enterprise Edition)
-----------------------------274341800629161--

The only difference is the location of
"; filename="LICENSE.txt"", which is present in the next line in the webagent enabled post. Due to it I am unable to fetch the handle for the file and thus unable to fetch the handle.

Please suggest me what should i do in this regard? If you need more clarification, please feel free to ask me.

Regards,
Kamal