Jump to content


Become a part of the community today! Registration is quick and easy and will enable you to post, send personal messages, and join in on the chat! It's as simple as clicking on the links above.

Windows client command line and config file

windows commandline argv

  • Please log in to reply
8 replies to this topic

#1 kirill.kovalenko

kirill.kovalenko

    New User

  • Members
  • Pip
  • 5 posts

Posted 24 April 2013 - 08:27 AM

I'm trying to figure out the way to run Windows client as a service. I'm planning to use nssm.exe for this. The problem is that I need to supply a configuration to BTSync.exe when it's running as a service.

I looked through the web site for command line syntax and only found '--help' and '--dump-simple-config'. Both of them do not seem to work with Windows client, as well as the standard Windows '/?' .

My questions are:

Does Windows client has command line options? If yes, what are they ?
What is the recommended way to run Windows client as a service ?

version: 1.0.116

#2 kos13

kos13

    BitTorrent Sync Team

  • Employees
  • 693 posts

Posted 24 April 2013 - 08:57 AM

Windows version doesn't have a CLI. There were some workarounds to run Sync as service, but it didn't work for everyone.

We plan to add CLI to windows and ability to run Sync as service.

#3 GreatMarko

GreatMarko

    BitTorrent Sync Alpha Tester

  • Moderators
  • 2,194 posts
  • LocationUK

Posted 24 April 2013 - 09:06 AM

Does Windows client has command line options? If yes, what are they ?


At present, command line options are only available on Linux/NAS devices.

What is the recommended way to run Windows client as a service ?


There isn't an "official" way to run BTSync as a Windows service - but this has been requested a number of times in the forum, and there is another thread on this topic here. The developers are aware of this desire! Hopefully the ability to run BTSync as a service will emerge soon, although last I heard there was no specific ETA for this feature.

#4 kirill.kovalenko

kirill.kovalenko

    New User

  • Members
  • Pip
  • 5 posts

Posted 24 April 2013 - 09:07 AM

We plan to add CLI to windows and ability to run Sync as service.


Is there any ETA for this feature ?

#5 kos13

kos13

    BitTorrent Sync Team

  • Employees
  • 693 posts

Posted 24 April 2013 - 09:22 AM

I don't have any specific date. The only thing I can share, it has very high prio.
  • kirill.kovalenko likes this

#6 renini

renini

    New User

  • Members
  • Pip
  • 4 posts

Posted 28 October 2013 - 03:37 PM

High prio? But its like 6 months later and still nothing?



#7 dustinhess

dustinhess

    New User

  • New Members
  • Pip
  • 2 posts

Posted 29 August 2014 - 03:43 PM

still nothing almost a year later? I desperately need it to be able to run as a service on windows.



#8 DesertShadow

DesertShadow

    New User

  • New Members
  • Pip
  • 1 posts

Posted 24 October 2014 - 11:18 PM

Is there a ticket in an issue tracker we can use to follow Window CLI support?



#9 RomanZ

RomanZ

    Sync Support

  • Administrators
  • 1,858 posts

Posted 27 October 2014 - 12:56 PM

@DesertShadow

We don't have an external issue tracker - though we have Feature Request subforum, where you can post your feature requests. Also, we've implemented an HTTP based API. Will it work for you?







Also tagged with one or more of these keywords: windows, commandline, argv