.htmlfiles from a named directory while simultaneously recursing through any subdirectories and doing the same. All good!
Here is the meat of the script (slightly redacted) ...
"C:\Program Files (x86)\WinSCP\WinSCP.com" ^ /command ^ "open ftp://USER:PASSWORD@IP_ADDRESS/ -rawsettings CacheDirectories=0 CacheDirectoryChanges=0" ^ "put -filemask=*.html * /public_html/my-remote-dir/" ^ "exit"
I wish to upload any SVG files too and I read the docs and I have tried adding...
"put -filemask=*.html; *.svg * /public_html/my-remote-dir/" ^
Can anyone please advise here?