• 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
  • 相关阅读:
    倒计时发送短信案例
    倒计时效果
    setInterval 定时器
    setTimeout定时器
    调整窗口大小事件
    window常见事件onload
    模拟京东快递单号查询
    模拟京东按键输入内容
    跟随鼠标的天使案例
    Vue 事件监听实现导航栏吸顶效果(页面滚动后定位)
  • 原文地址:https://www.cnblogs.com/linuxbo/p/4271841.html
Copyright © 2020-2023  润新知