Results 1 to 7 of 7

Thread: How to safely close torrent via command line

  1. #1
    Join Date
    Apr 2010
    Posts
    117

    How to safely close torrent via command line

    As of at present, if the 'Minimize on Close' alternative is selected, than using taskkill or pskill or comparable results in a forced shutdown of the client, resulting in a prolonged disk create certain on next work that is completely unnecessary and perceptibly not recommended for the HDD. I would similar to be familiar with if there's a way I am able to shutdown the client gracefully/safely using the command-line. I desire to automate when uTorrent starts and closes throughout the day using batch files or perhaps even the Windows task scheduler or a 3rd party program. But if no such command-line alternative exists, I would approximate to recommend that an innovative /close alternative be added that determine to basically close the program safely, as if File > Exit (or Exit from the tray icon context menu) had been clicked.

  2. #2
    Join Date
    Nov 2009
    Posts
    612

    Re: How to safely close torrent via command line

    Subsequent this I utilize CLI to control utorrent and would feel affection for to be capable to do this too. I would in addition similar to instant this, as I am presently working µTorrent as a service. Which shutting down system causes µTorrent not to finish cleanly. And I am able to imagine of a small number of cases where it requirements to encompass this. We have gotten reports that uTorrent has become unkillable using exterior utilities.

  3. #3
    Join Date
    Nov 2009
    Posts
    721

    Re: How to safely close torrent via command line

    Interesting convenience positively. Too bad it necessitate .Net, in view of the fact that I first and foremost necessitate utilizing it on a system which cannot comprise the .Net framework installed on it for various reasons. Tranquil through to come in handy for my additional systems. This tranquil be supposed to not protect uTorrent from having an in-built /CLOSE command-line alternative BTW. Why rely on exterior utilities when the app. be able to do it itself. Frankly, I cannot actually observe several reasons not to have this.

  4. #4
    Join Date
    Jun 2009
    Posts
    705

    Re: How to safely close torrent via command line

    Having a built-in /CLOSE disagreement is no dissimilar from having an exterior submission do the job for the reason that calling utorrent.exe /CLOSE is accurately the similar thing as calling an exterior submission. The innovative instance of utorrent.exe receiving the /CLOSE disagreement basically passes along the /CLOSE parameter to the existing illustration of utorrent.exe, and then terminates itself for the reason that µTorrent generally protects multiple instances from being run.

  5. #5
    Join Date
    Nov 2009
    Posts
    569

    Re: How to safely close torrent via command line

    Not being capable to be finished via exterior submission is a difficulty unto itself. If it cannot be concluded, then nothing's going to be capable to force an exit, for the reason that it's perceptibly hung and would not respond to anything. Not that this is the explanation, and not that this is several technical reason, but presently from a design perception, command line arguments are supposed to be used for the instance regarding to be run (the instance being given the parameter originally by the user). It presently so occurs that µTorrent tries to handle this gracefully by passing arguments onto a working instance if /RECOVER is not in the argument register.

  6. #6
    Join Date
    Jun 2009
    Posts
    784

    Re: How to safely close torrent via command line

    It (IMO) does not create sense to encompass a command line argument in µTorrent particularly for controlling an additional instance of µTorrent, and a different instance of µTorrent simply. Such functionality is superior suited in an exterior submission used particularly for killing procedure similar to Gur Tenuis' usefulness. (And even if implemented, which illustration of µTorrent is supposed to be given the argument. The first one and the entire of them).

  7. #7
    Join Date
    Aug 2009
    Posts
    750

    Re: How to safely close torrent via command line

    Yes, that is an interesting point you have generate regarding command-line arguments. I have frequently consideration that there be supposed to be a method to distinguish connecting multiple copies of uTorrent working at the same time. For illustration, if the command-line args. containing /RECOVER had a essential argument NAME so that it was particular as /RECOVER: NAME for illustration, then we might solve numerous issues that are prevalent at present. One might then, for illustration, accomplish uTorrent.exe /RECOVER: uTor1 and uTorrent.exe /RECOVER: uTor2 and encompass two instances work that are entirely disconnect. uTorrent.exe /CLOSE: uTor1 would then close merely the 1st instance perceptibly, thus solving the problem you raised.

Similar Threads

  1. What is the Command Line Code to run program for torrent download
    By Lohitaksha in forum Technology & Internet
    Replies: 6
    Last Post: 26-06-2010, 12:11 AM
  2. Create torrent-file via command line
    By GurdeepS in forum Technology & Internet
    Replies: 8
    Last Post: 23-06-2010, 06:52 AM
  3. xcopy command line together with wmplayer command line
    By Aislinn in forum Operating Systems
    Replies: 5
    Last Post: 31-03-2010, 12:13 PM
  4. Replies: 3
    Last Post: 03-09-2009, 05:41 PM
  5. Replies: 1
    Last Post: 18-05-2007, 01:24 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,711,630,483.69702 seconds with 16 queries