zoukankan      html  css  js  c++  java
  • How to setup a native windows server 2003 tftpd

    expand tftpd.ex_ %windir%system32	ftpd.exe
    instsrv tftpd %windir%system32	ftpd.exe
    reg add hklmsystemcurrentcontrolsetservices	ftpdParameters
    reg add hklmsystemcurrentcontrolsetservices	ftpdParameters /v Directory /t REG_SZ /d d:	ftpd
    md c:	ftproot
    net start tftpd

     TFTPD USAGE:

    Installation:                                                                                                              
     

      md d:	ftpd                                    (the StartDirectory).
      copy %windir%system32	ftpd.exe d:	ftpd                                  
      sc create tftpd binPath= d:	ftpd	ftpd.exe    (give full path).     
      sc query tftpd                                  (check if installed).
      reg add hklmsystemcurrentcontrolsetservices	ftpdParameters /v Directory /t REG_SZ /d d:	ftpd    (the default work-directory is c:	ftpdroot)

                                                                            
    Start:                                                                   
                                                           

      net start tftpd                                              

    or 

      sc start tftpd [-dStartDirectory][-e] [-f] 

                           
        Options: -e  use event log.                                         
                -f  log to file.                                           
                -dStartDirectory                                           
              
    Stop:                                                                   
      

    sc  stop tftpd 

    or

     net stop tftpd


    Remove:

    sc delete tftpd 

    or

    instsrv tftpd remove

    Info:                                                                   

    sc interrogate tftpd          (logs will be updated).                 
    sc query tftpd                Check whether running.    
    instsrv tftpd %windir%system32srvany.exe
    reg add hklmsystemcurrentcontrolsetservices	ftpdParameters
    reg add hklmsystemcurrentcontrolsetservices	ftpdParameters /v Application /t REG_SZ /d d:	ftpd	ftpd.exe
    reg add hklmsystemcurrentcontrolsetservices	ftpdParameters /v Directory /t REG_SZ /d d:	ftpd
    md c:	ftproot
    net start tftpd
  • 相关阅读:
    xcode debug
    ios 使用Quartz 2D画虚线
    ios UIGestureRecognizer
    ios 实现带矩形框的屏幕截图
    ios UISegemetedControl
    centos最小安装之后无法使用ifconfig
    无线LoRa智能远传水表
    智能水表188协议汇总
    无线LoRa远传智能水表
    静电除尘器除尘原理
  • 原文地址:https://www.cnblogs.com/linuxbo/p/4271841.html
Copyright © 2011-2022 走看看