Re: Generate Code function not found
The section, which you are quoting, is from Transfer options dialog documentation:
https://winscp.net/eng/docs/ui_copy
Not from "Keep remote directory up to date" dialog. That dialog does not have code generation functionality.
Instead, generate a basic script template for your session:
https://winscp.net/eng/docs/guide_automation#generating
And add
https://winscp.net/eng/docs/scriptcommand_keepuptodate
https://winscp.net/eng/docs/ui_copy
Not from "Keep remote directory up to date" dialog. That dialog does not have code generation functionality.
Instead, generate a basic script template for your session:
https://winscp.net/eng/docs/guide_automation#generating
And add
keepuptodate
command:
https://winscp.net/eng/docs/scriptcommand_keepuptodate