Plone&x2B;Ploneboard最大上载文件大小
我正在尝试调整/实现Plone 4.1和Ploneboard的最大会话附件上载文件大小 在PloneBoard中,处理上传的代码如下:Plone&x2B;Ploneboard最大上载文件大小,plone,zope,archetypes,Plone,Zope,Archetypes,我正在尝试调整/实现Plone 4.1和Ploneboard的最大会话附件上载文件大小 在PloneBoard中,处理上传的代码如下: # Create files in message if files: for file in files: # Get raw filedata, not persistent object with reference to tempstorage # file.data mig
# Create files in message
if files:
for file in files:
# Get raw filedata, not persistent object with reference to tempstorage
# file.data might in fact be OFS.Image.Pdata - str will piece it all together
attachment = File(file.getId(), file.title_or_id(), str(file.data), file.getContentType())
m.addAttachment(attachment)
上传的文件大小在Plone、Zope和Ploneboard中的调整位置和方式?看起来这是在Ploneboard论坛编辑页面设置中直接控制的。AHA。看起来这是由PloneBoard论坛直接编辑页面设置控制的。