Sep 19, 2004 #1 Michael42 Programmer Joined Oct 8, 2001 Messages 1,454 Location US Hello, In Windows 2000 Server running IIS (with FTP server), how can I start and stop the FTP server from the command line? I wish to place this in a batch file. Thanks, Michael42
Hello, In Windows 2000 Server running IIS (with FTP server), how can I start and stop the FTP server from the command line? I wish to place this in a batch file. Thanks, Michael42
Sep 19, 2004 1 #2 jakob314 Technical User Joined Mar 10, 2004 Messages 50 Location DK To stop: net stop msftpsvc To start. net start msftpsvc This works in a commandprompt; don´t know if it´ll work from .bat/.cmd Upvote 0 Downvote
To stop: net stop msftpsvc To start. net start msftpsvc This works in a commandprompt; don´t know if it´ll work from .bat/.cmd
Sep 19, 2004 Thread starter #3 Michael42 Programmer Joined Oct 8, 2001 Messages 1,454 Location US jakob314, Thanks for posting. Yes it works fine from batch file too. Upvote 0 Downvote
Sep 20, 2004 #4 ITPangaeaArchitect MIS Joined Sep 20, 2004 Messages 946 Location US another suggestion you do not need to do this in two lines can be one..but doesnt matter net stop servicename & net start servicename all on one line Upvote 0 Downvote
another suggestion you do not need to do this in two lines can be one..but doesnt matter net stop servicename & net start servicename all on one line