Clipboard SET {file$|noext} counts files

I have a command to copy file or folder name to the clipboard.

@nofilenamequoting Clipboard SET {file$|noext}
It works fine on local disks but causes DOpus to count files in folders when using on SFTP sites (which frequently takes a lot of time).
Any idea how to fix this?

Add @nolocalizefiles to stop that from happening:

@nolocalizefiles @nofilenamequoting Clipboard SET {file$|noext}

This is what I was looking for.

Is there any reason localizing files works when using {filepath$} but doesn't work with {filepathdest} ?
Some time ago I was trying to use WinMerge on FTP sites but it works only if local folder is set to source and ftp is the destination. If I swap them, it doesn't work.