Alfresco 文件上传器 - 它是如何工作的?
我的露天安装(在 Ubuntu 10.04.2 LTS 服务器上)无法通过 /share
上传文件。对于小文件,进度条达到100%后放置失败(暂停2分钟后)。日志中没有发现任何异常。
上传过程如何进行?我需要在 Linux 上启用某个端口吗?
编辑
我可以在我的开发盒(Ubuntu 10.10)访问(http://locahostORip-address:8080/share)上上传文件,只有当我复制到时才会失败UAT 环境
My alfresco install(on Ubuntu 10.04.2 LTS Server) is failing to upload files via /share
. for small files, the progress bar goes to 100% put later fails (after pausing for 2 minutes). There are no exceptions in the logs.
How does the upload process work? Is there a port i need to enable on Linux?
EDIT
I can upload file on my dev box(Ubuntu 10.10) accessing (http://locahostORip-address:8080/share), it only fails if i copy over to the UAT env.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
所以你正在使用 flash-uploader。你的闪光灯工作正常吗?
有一种方法可以使用非 Flash 上传器,但是一次只能上传一个文件。
So you're using the flash-uploader. Is your flash working ok?
There is a way to use the non-flash uploader, but then you can only upload one file at a time.
共享中的文件上传使用常规 HTML 多部分文件上传。它们没有什么特别的 - 如果您可以浏览共享界面,那么您应该已完成所有设置以允许您上传文件。无需打开特殊端口。
还有其他方法可以将文件上传到 Alfresco,例如 CIFS 和 FTP。对于这些,您确实需要启用一些东西。有关详细信息,请参阅 http://wiki.alfresco.com/wiki/File_Server_Configuration。
一般来说,如果您遇到文件上传问题,您更有可能在主存储库日志(/alfresco/ Web 应用程序)中看到错误,而不是在共享日志中看到错误。
File uploads in share use regular HTML multi part file uploads. There's nothing special about them - if you can browse the share interface then you should have everything set up to let you upload files. No special ports need to be opened.
There are other ways to upload files into Alfresco, such as CIFS and FTP. For those, you do need to enable things. See http://wiki.alfresco.com/wiki/File_Server_Configuration for details.
As a general thing though, if you're having file upload problems, you're much more likely to see errors in the main repo logs (the /alfresco/ web app) than the share one.
共享中的 Flash 上传器存在一些已知问题,这些问题可能是您遇到问题的原因:
如果您使用的是 Tomcat 7,请恢复到 6.x 系列
如果您使用的是 Websphere 7,请考虑使用 不同 AS
如果您使用自签名/不受信任的证书在 HTTPS 上,请验证您的浏览器 已正确配置
There are a few known issues with the Flash uploader in Share that might be the cause behind the problems you're experiencing:
if you're using Tomcat 7, please revert to the 6.x series
if you're on Websphere 7, please consider using a different AS
if you're on HTTPS using self signed / untrusted certificates, verify your browser is correctly configured