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.

  • 相关阅读:
    洛谷【P1480】A/B Problem
    bzoj 2654 && bzoj 3675 总结
    关于三维莫队问题的一些思考和探究
    BZOJ 1179 抢掠计划atm (缩点+有向无环图DP)
    BZOJ 1500 Luogu P2042 [NOI2005] 维护数列 (Splay)
    Codeforces 919D Substring (拓扑图DP)
    【学习笔记】有向无环图上的DP
    【学习笔记】求解简单递归式的一般方法
    BZOJ 3930 Luogu P3172 选数 (莫比乌斯反演)
    POJ 1061 BZOJ 1477 Luogu P1516 青蛙的约会 (扩展欧几里得算法)
  • 原文地址:https://www.cnblogs.com/hannover/p/2005498.html
Copyright © 2011-2022 走看看