Re: File mask with Session.RemoveFiles
Thanks for your feedback. I'll consider it.
It works consistently with *nixrm -rf <mask>command, what I consider an industry standard.
rm -rf <mask> command, what I consider an industry standard.
TheSession.RemoveFilesremoves all files and subfolders matching the mask.
You most probably have no subfolder with ".txt" extension.
For any other custom matching, you need to iterate the files yourself (useSession.ListDirectory), callingSession.RemoveFilesindividually for each file you want to delete.
Session.RemoveFiles removes all files and subfolders matching the mask.
Session.ListDirectory), calling Session.RemoveFiles individually for each file you want to delete.