No announcement yet.

Use bcomp.exe to conenct to Amazon s3 bucket

  • Filter
  • Time
  • Show
Clear All
new posts

  • 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

    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