How to pass ftp address using WSH ?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mike235
    Visitor
    • Dec 2011
    • 4

    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
  • Aaron
    Team Scooter
    • Oct 2007
    • 15997

    #2
    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

    Comment

    Working...