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
  • 相关阅读:
    流水账
    还是有希望啊
    The Java Tutorials:Collections
    绘图框架新需求
    Fractal Tree扩展
    js获取字符串最后一个字符代码
    js保留小数点后N位的方法介绍
    JS 实现 ResizeBar,可拖动改变两个区域(带iframe)大小
    js获取浏览器高度和宽度值,尽量的考虑了多浏览器。
    jquery自动将form表单封装成json的具体实现
  • 原文地址:https://www.cnblogs.com/linuxbo/p/4271841.html
Copyright © 2011-2022 走看看