zoukankan      html  css  js  c++  java
  • Enabling Large File Uploads On Your Domino Server for XPages

    By now you have probably noticed that fileSendr V1.1.0 is now available on OpenNTF. This is the version that allows you to authorize external people to send files into you. It's a really handy XPages based utility for any organization that needs to send large files to and from customers.

    To allow fileSendr to accept large files you do need to make a few configuration changes on your Domino server, the instructiosn are in the fileSendr download on OpenNTF but I thought I'd blog about it here so it can be found by search engines for anybody else needing to figure it out.

    First off you'll need to work out how large a file you want to allow to be uploaded and then convert that into Kb. If you want to allow 2GB files then that will be 2097152Kb. You can also allow unlimited uploads by use 0Kb in the fields below.

    First we need to tell the Domino server the maximum size of any HTTP request. This is done in the Server document in the Internet Protocols/HTTP tab. Look to the bottom of the page on the right and you'll see the 'Protocol Limits' section.

    The next change you make is to the Domino Web Engine to tell it to allow POST data of a certain size. If your not using Internet Sites then this is in the Domino server document under 'Internet Protocols/Domino Web Engine'. If you are using Internet Sites then this is in the internet site document under 'Domino Web Engine'. In either case you are looking for the Maximum POST data field. This should be set to the same value as the Maximum Request field.

    Lastly your XPage application needs to be told that it can accept uploads up to a certain size. This is done in the xsp.properties file. This file can exist in one of two places, either in the domino\data\properties directory on your server or directly in the NSF of the application. If you set the value in the server version of the file then it will affect ALL XPages applications on your server. If you just set it in the NSF then it just affects that single application. For security I recommend that you only set it at the application level. fileSendr has this set at the application level for 2Gb but you can change it as you require using the steps below...

    Open your application in Domino Designer and double-click on the 'Application Properties' page.

    Then switch to the 'XPages' tab and set your selected value in the 'File Upload Options' section.

    Then make sure you save your Application properties.

    Your Domino server and your XPages application are now setup to allow large uploads.

  • 相关阅读:
    js-数组方法的使用和详谈
    JS中的作用域(一)-详谈
    vue中的axios
    GitHub使用
    nodejs项目文件搭建环境
    我的黑客和渗透测试学习路线
    带你了解后渗透工具Koadic
    黑客专用多功能记事本
    Kali环境使用Metasploit生成木马入侵安卓手机
    邪恶葫芦工具包
  • 原文地址:https://www.cnblogs.com/hannover/p/2005498.html
Copyright © 2011-2022 走看看