Copy file from remote to local

BatchPatch Forums Home Forums BatchPatch Support Forum Copy file from remote to local

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #8734
    pkardono
    Participant

    Is there away to copy file from remote to local where Batchpatch installed?

    I seen the option in batch patch is copy file from local (Batchpatch Installed) to remote host.

    Thank you

    Pribadi

    #9950
    doug
    Moderator

    While this is not possible with any built-in actions, you can still use BP to accomplish this task very easily by creating a ‘Local command’ in BP (Actions > Execute local process/command…)

    The command would need to look like this (see below). At the time of execution BP will automatically replace $computer with the value from the Host column of that row.

    xcopy “\$computerc$someFoldersomeFile.ext” “C:temp”

    When you execute the above command as a local command in BP, BP will copy someFile.txt from \targetcomputerc$someFolder to the local computer C:temp

    #9916
    pkardono
    Participant

    Hi Doug, thanks It works.

    I tested in two machine and works in one machine. It looks permission problem on one machine which the xcopy not working.

    Thanks

    Pribadi

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.