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
  • 相关阅读:
    自定义Maven Archetype模板
    [Discuz!NT] Crash问题记录
    echarts渐变色实现方法
    关于windows7 IIS 7.5和Vista IIS 7.0 局域网无法访问的解决方法
    返回接口信息
    [转]简易下拉框式日期选择器(带闰平年判断)
    漂亮的验证码
    EXT.NET 使用 Ueditor编辑器,并在后台获取的方法
    WIN7 IIS不能显示特殊图片 “+”,""号的图片需要转义才可以显示
    人才网查找职位的复杂SQL用法
  • 原文地址:https://www.cnblogs.com/linuxbo/p/4271841.html
Copyright © 2011-2022 走看看