PutFileToDirectorymethod in my C# program. However, it fails on files with square brackets in the name, like
Test. I assumed it was a filemask issue but I can't use
RemotePath.EscapeFileMaskbecause it only takes the original filename and then the remote directory. Also, the documentation seems to indicate:
You specify a path to the source file, not a wildcard, so you do not need to escape a literal file name.
Is this is a bug or am I missing something I need to set to send these files?