No you cannot have WinSCP flatten the directory structure, if that's what you ask for.
- martin
mirror
and criteria
arguments in Session.SynchronizeDirectories
call.
$synchronizationResult = $session.SynchronizeDirectories([WinSCP.SynchronizationMode]::Local, $localPath, $remotePath, $false, $false, [WinSCP.SynchronizationCriteria]::Time, $transferOptions)
Session.SessionLogPath
. Submit the log with your post as an attachment. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you can mark the attachment as private./cygdrive/c/program files (x86)/icw/home/ftp01/Input/folderA/acc/
/cygdrive/c/program files (x86)/icw/home/ftp01/Input/folderA/prod/
/cygdrive/c/program files (x86)/icw/home/ftp01/Input/folderB/acc/
/cygdrive/c/program files (x86)/icw/home/ftp01/Input/folderB/prod/
|
-->FolderA
| |
| -->test (I want these XML files)
| -->acc
| -->prod
|
-->FolderB
| |
| -->test (I want these XML files)
| -->acc
| -->prod