Home Forums Programming Powershell Powershell script transfers entire directory? RE: Powershell script transfers entire directory?

  • Brandie Tarvin - Monday, July 24, 2017 10:17 AM

    jasona.work - Monday, July 24, 2017 10:11 AM

    Brandie Tarvin - Monday, July 24, 2017 9:27 AM

    The remote path is on a different server in a different location than the local path. Which is why it confuses me how it knew to copy local path contents to the remote path.

    Wait, which way was the copy going?
    From $localpath -> $remotepath or the other way 'round?

    Local path to remote.

    OK, now it's moved into "I'd need to set up something similar and test it" because I would think it would only grab the appropriate file in that case.