How to ignore all directories/allow only files?

I have an archive folder and only want to share the files in the folder, rather than have Syncthing create every single directory even if everything in it is ignored. Below is a picture of how it is structured: image

How do I include the (Compressed and WPRESS) files while excluding all of the directories? At the moment I’ve tried the following but it feels a bit strenuous:

// I thought this would only allow files within the local directory, but seems not
// !/*

.htaccess
*.{co|org|uk}*
*.7z
*.sql
*.tmp
*.wpress

Ignore patterns don’t distinguish between files and directories, however if you assume that all files have an extension (and directories don’t use . in their name), then you should be able to do:

!/*.*
/*