首先intra-mart的整体设置包括以下各项。
■intra-mart Accel Platform配置文件参考
https://document.intra-mart.jp/library/iap/public/configuration/im_configuration_reference/texts/im_servlets/request-control-config/index.html#请求查询长度限制
该设置不仅对文件上传有限制,对请求也有限制,可以设置的上限值是long型的最大值。
请求的大小是指请求信息主体的大小(编码的文件、分隔符、请求参数等),如果超过上述设置值则返回【HTTP响应代码413】。
安装指南中也介绍了上述设置。
■intra-mart Accel Platform安装指南
5.3.5.1. 如何限制文件上传
https://document.intra-mart.jp/library/iap/public/setup/iap_setup_guide/texts/create_war/how_to_limit_of_file_upload.html#how-to-limit-of-file-upload
其次,有可能对每项功能的文件大小进行设置。
可单独设置的功能如下。
◆IM-BloomMaker for Accel Platform
使用元素「文件上传」「多文件上传」可以指定可上传的文件大小的上限。
详细信息请参照以下内容。
■intra-mart Accel Platform配置文件参考
文件上传元素设置
https://document.intra-mart.jp/library/iap/public/configuration/im_configuration_reference/texts/im_bloommaker/file-upload-element-config/index.html
另外,从2022 Spring开始,也可以在客户端的元素属性中指定最大文件的大小。
详细信息请参照以下要求。
https://issue.intra-mart.jp/issues/34184
◆标准标签(兼容)
详细信息请参照以下API文档
■ 面向脚本开发的im-BizAPI(兼容)
https://api.intra-mart.jp/iap/apilist-jssp-tagdoc/doc/imart_tag_api/upload/index.html
属性:maxRequestLength(可上传的最大请求大小)
属性:maxSize(可上传的最大文件大小)
■面向JavaEE开发的标签库
https://api.intra-mart.jp/iap/apilist-jsp-tagdoc/doc/standard/upload/index.html
属性:maxRequestLength(可上传的最大请求大小)
属性:maxSize(可上传的最大文件大小)
◆如果您使用的是SAStruts
详细信息请参照以下内容。
■intra-mart Accel Platform安装指南
5.3.5.1. 如何限制文件上传
5.3.5.1.2. 如果您使用的是SAStruts
https://document.intra-mart.jp/library/iap/public/setup/iap_setup_guide/texts/create_war/how_to_limit_of_file_upload.html#sastruts
但是,intra-mart Accel Collaboration电子会议室和调查不使用上述struts-config.xml的maxFileSize,而是通过以下设置进行控制。
■intra-mart Accel Collaboration配置文件参考
・电子会议室设置
https://document.intra-mart.jp/library/iac/public/iac_configuration_reference/bbs_module/texts/iac_bbs/iac_bbs_config/index.html#mbytes
・调查设定
https://document.intra-mart.jp/library/iac/public/iac_configuration_reference/questionnaire_module/texts/iac_questionnaire/iac_questionnaire_config/index.html#mbytes
除上述功能以外,IM-Workflow、IMBox、IM-FileExchange、IM-FormaDesigner for Accel Platform、IM-BIS for Accel Platform均无单独设置
通过intra-mart整体的请求查询长度限制进行控制。
-- 适用对象 -------------------------------------------------------------------
iAP/Accel Platform/所有更新
iAP/Accel Extensions/IM-FormaDesigner for Accel Platform/所有更新
iAP/Accel Extensions/IM-BIS for Accel Platform/所有更新
iAP/Accel Extensions/IM-BloomMaker for Accel Platform/2020 Spring及更高版本
iAP/Accel Applications/Accel Collaboration/所有更新
-------------------------------------------------------------------------------
FAQID:1184
intra-mart各项功能对可上传的文件是否有大小限制?