本文介绍了如何配置Apache FtpServer?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Apache FtpServer的文档中发现了这个非常简单的描述:
$ b

没有关于:


  1. 我应该在哪里放置这个配置文件?

  2. 文件名应该是什么?

  3. 应用程序如何找到该文件?



  4. 关于这方面的文档,并不难找到。它在这个页面上:





    事实证明,您只需在命令行上指定XML配置文件当启动服务器时:

      bin / ftpd.sh res / conf / ftpd-typical.xml 
      bin /ftpd.bat res / conf / ftpd-typical.xml 

    我只为自己试过这个:I下载服务器,开除命令,并且......开始服务。

    I found this very simple description on Apache FtpServer's document:

    Nothing else about:

    1. Where should I put this configure file?
    2. What should the file name be?
    3. How could the application find that file?

    Do I have study Spring's Configure Framework to know all about it?

    解决方案

    There is documentation about that, and it wasn't too hard to find. It's on this page:

    http://mina.apache.org/ftpserver-project/running_ftpserver_standalone.html

    Turns out that you specify the XML configuration file simply on the command line when starting the server:

    bin/ftpd.sh res/conf/ftpd-typical.xml
    

    For Windows:

    bin/ftpd.bat res/conf/ftpd-typical.xml
    

    I just tried this for myself: I downloaded the server, fired off the command, and... it started serving.

    这篇关于如何配置Apache FtpServer?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-17 10:38