Re: Put folders without files on an FTP site
Just run
I strongly recommend a dry run with
https://winscp.net/eng/docs/scriptcommand_synchronize
https://winscp.net/eng/docs/file_mask
https://winscp.net/eng/docs/guide_automation
synchronize remote scripting command with file mask |* (exclude all files) and -delete switch (to remove orphaned remote folders)
synchronize remote C:\local\path /remote/path -delete -filemask=|*
I strongly recommend a dry run with
-preview switch before you run it live for the first time.
https://winscp.net/eng/docs/scriptcommand_synchronize
https://winscp.net/eng/docs/file_mask
https://winscp.net/eng/docs/guide_automation