【问题标题】:How to define server root for inets tftp server如何为 inets tftp 服务器定义服务器根目录
【发布时间】:2023-04-04 22:07:01
【问题描述】:

看似微不足道,但服务器配置中的属性 {server_root, Path} 不起作用。有什么提示吗?

【问题讨论】:

    标签: erlang inets tftp


    【解决方案1】:

    appears你需要在tftp_file中设置callback

    tftp:start([{callback, {".*", tftp_file, [{root_dir, "/tftpboot"}]}}]).
    

    【讨论】:

      猜你喜欢
      • 2014-04-30
      • 2013-07-20
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-09-02
      • 1970-01-01
      相关资源
      最近更新 更多