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
  • 相关阅读:
    [USACO18OPEN]Talent Show
    Linux关机、重启命令
    [SHOI2014]概率充电器
    mount新磁盘
    [JLOI2012]时间流逝
    创建、删除swap分区
    牛客网NOIP赛前集训营-普及组(第二场)
    从show slave status 中1062错误提示信息找到binlog的SQL
    [USACO18OPEN]Out of Sorts P 冒泡排序理解之二
    ORA-28040: No matching authentication protocol
  • 原文地址:https://www.cnblogs.com/linuxbo/p/4271841.html
Copyright © 2011-2022 走看看