开发者

Does flash always post a "Filename" parameter when doing a file upload?

I have tried two flash upload components, swfupload and uploadify, and both seem to generate POSTs with a "Filename" parameter. My problem is that the service I'm posting to has a strictly specified set of allowed parameters and Filename is not one of them.

So, is it at all possible to remove this 开发者_开发知识库parameter from the post?


A quick look at the docs reveals that you can change the uploadDataFieldName, which is by default "Filedata", by setting the second parameter of the upload() method. Docs doesn't say anything about the Filename parameter though, so I guess that's a no.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜