martin Re: Error while using switch 'filemask' in command keepuptodate 2013-07-15 Make sure you upgrade to the latest version of WinSCP.