zoukankan      html  css  js  c++  java
  • 使用busybox配置ftp server

    使用busybox配置ftp server:

    1.在编译busybox时加入tcpsvd和ftpd

    2.tcpsvd作用:

    Create TCP socket, bind to IP:PORT and listen                                   
    for incoming connection. Run PROG for each connection.

    3.ftpd作用:

    ftpd should be used as an inetd service.                                        
    ftpd's line for inetd.conf:                                                     
            21 stream tcp nowait root ftpd ftpd /files/to/serve                     
    It also can be ran from tcpsvd:                                                 
            tcpsvd -vE 0.0.0.0 21 ftpd /files/to/serve                             

    4.在终端上输入:

    tcpsvd 0 21 ftpd -w /root

    0代表监听所有ip,21代表本地监听端口为21,ftpd代表要执行的程序,-w代表允许上传,/root代表默认登录和允许访问的目录

  • 相关阅读:
    记录s标签范例
    链表问题总结
    Hibernate学习总结
    HDU2460-Network
    CF464C-Substitutes in Number
    CF666E-Forensic Examination
    CF373C-Counting Kangaroos is Fun
    CF558E-A Simple Task
    HDU5669-Road
    CF341D-Iahub and Xors
  • 原文地址:https://www.cnblogs.com/live-program/p/11057088.html
Copyright © 2011-2022 走看看