Question, does this process remove the file(s) it downloads on the remote side AND the directories?
If you set the
removeparameter to true, it will remove whatever you have downloaded. So if you download file, it will remove the file, if you download a directory, it will remove the directory. The example you refer to downloads files only. The directories are created locally by the script/code, they are not "downloaded" by the
GetFiles. So even if you add the
removeparameter, the directories won't be deleted.
Does this Method support using Transfer Options ie In the example I didn't see them being used so I'm curious.
TransferOptionstype) is an optional parameter (the 4th, after the
It's not used in the example, so the default transfer options are used.