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.

  • 相关阅读:
    并发编程之线程进阶
    并发编程之线程
    进程间通信(队列和管道)
    在python程序中的进程操作
    操作系统之进程
    网络编程之黏包
    树莓派 websocket 控制LED
    lua 调用 C -- 实例 C函数作为应用程序的一部分
    linux 环境下进程什么时候会被 killed掉
    STM32 + cJSON 死机问题解决
  • 原文地址:https://www.cnblogs.com/hannover/p/2005498.html
Copyright © 2011-2022 走看看