【问题标题】:Does Dart have support for the FTP protocolDart 是否支持 FTP 协议
【发布时间】:2015-03-05 08:21:15
【问题描述】:

Dart 是否支持 FTP 协议。特别是在服务器而不是客户端上运行的代码。

谢谢 理查德

【问题讨论】:

    标签: dart dart-io dart-http


    【解决方案1】:

    https://api.dartlang.org/apidocs/channels/stable/dartdoc-viewer/dart:html.HttpRequest

    HttpRequest can be used to obtain data from HTTP and FTP protocols, and is useful for AJAX-style page updates.
    

    我不知道是否还有必要获得您可能想要的 FTP 支持。

    【讨论】:

    • 我假设 HttpRequest 只能进行被动 FTP 客户端连接。完整的 FTP 协议比这更复杂,例如允许在其他两台主机之间建立传输,并且服务器端必须处理完整的协议。
    • http包只能在浏览器客户端使用
    • @richard 你是对的,我找不到关于 Dart 服务器端和 FTP 的任何信息。
    猜你喜欢
    • 2012-07-09
    • 2014-11-08
    • 1970-01-01
    • 2013-02-18
    • 2019-03-27
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多