WinSCP .NET assembly Session.PutFiles() syntax
First I want to thank you for WinSCP .NET assembly: as it eases uploading to remote FTP servers.
I have a syntax question re how to script the input of 2 source folders to 2 destination folders respectively as below. Should script include 2
I have a syntax question re how to script the input of 2 source folders to 2 destination folders respectively as below. Should script include 2
session.PutFiles()
like below?
$sourceA = "\\sourceA\" $sourceB = "\\sourceB\" $destinationA = "/destinationA/" $destinationB = "/destinationB/" $session.PutFiles($sourceA, $destinationA) $session.PutFiles($sourceB, $destinationB)