Announcement

Collapse
No announcement yet.

Sync from batch file

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Sync from batch file

    May I say again how fine the BC FTP is? I find it to be just perfect, wiith the exception of some error reporting niggles - amazingly reliable. Thanks.

    My Q: What command-line do I put in a batch file to get BC to sync folder A to ftp address B using "Update Sync >>" and no user input?

    I have tried /sync but this does not set the operation type nor start the operation.

    I would rather avoid teh no-doubt excellent scripting.

    Thanks.

  • #2
    Chris,

    Sorry, it isn't possible to execute a sync that does not require additional user interaction just using the /sync command line switch. The "/sync" command line switch will make BC open in the "Folder Sync" session but you'll still have to select the type of sync and click the "Sync Now" button to make it start.

    To sync without user interaction you'll need to use a script.

    Here's an example script:

    load folder1 ftp://[email protected]/folder1
    sync update:lt->rt

    To run it, use the command line:
    bcompare @script.txt
    Chris K Scooter Software

    Comment


    • #3
      OK, thanks.

      Comment

      Working...
      X