Results 1 to 2 of 2
  1. #1
    Join Date
    Dec 2011
    Posts
    4

    Question How to pass ftp address using WSH ?

    Hey guys,

    We have requirement to run BeyondComparer from the client, ( our intranet application is developed on asp.net web forms ), while I can run the Beyond Comparer using WSH, I don't see the way, how can I pass ftp address to it. Anybody can help me out ?

    Thanks beforehand,
    Mike

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

    Default

    Hello,

    Are you running Beyond Compare script (from the command line) using Windows Script Host?
    For example: bcompare.exe "@c:\bcscript.txt" ?

    You can pass additional parameters along the command line, such as:
    bcompare.exe "@c:\bcscript.txt" "ftp://ip/folder/" "c:\folder\"

    then in the bcscript.txt, refer to them by %1, %2, %3, etc.
    load %2 %1
    expand all
    folder-report layout:side-by-side output-to:"c:\bcreport.txt"

    We have detailed documentation about this in the Help file, in the Using Beyond Compare -> Automating with Script (top level chapter).

    Please let us know if you have any questions.
    Aaron P Scooter Software

Tags for this Thread

Posting Permissions

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