Re: Delete files obsolete with keepuptodate
So are you using scripting or do you just start the GUI "keep remote directory up to date" feature from command-line? I suppose the latter. In that case you need to enable the Delete option here:
https://winscp.net/eng/docs/ui_keepuptodate
https://winscp.net/eng/docs/ui_keepuptodate