Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 2016
    Posts
    2

    Default Use bcomp.exe to conenct to Amazon s3 bucket

    I would like to script a connection to an Amazon S3 bucket to synchronise files.
    How would I do this?

  2. #2
    Join Date
    Oct 2007
    Location
    Madison, WI
    Posts
    11,916

    Default

    Hello,

    All scripting actions mirror actions taken in the interface. Please configure a Folder Compare session in the interface to load your Amazon S3 as a test first to make sure it works as expected. You can create the Amazon Profile in the Tools menu -> Profiles dialog, assuming you have BC4 Pro. You can save this a session in the Session menu -> Save Session

    Next, a basic script is called from the command line using:
    bcompare.exe "@c:\bcfiles\bcscript.txt"

    where bcscript.txt contains the scripting syntax, such as:
    log verbose "c:\bcfiles\bclog.txt"
    load "Saved Session Name"
    sync update:left->right

    Detailed script documentation is found in the Help file (F1), in the Using Beyond Compare -> Scripting chapter, or in the main Scripting Reference chapter.
    Aaron P Scooter Software

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •