Actually, the extension itself: link .
I installed everything according to the manual - everything works, but the files are saved in the folder:

/uploads/[ΠΊΠ°ΠΊΠΈΠ΅-Ρ‚ΠΎ-нСпонятныС-Ρ†ΠΈΡ„Ρ€Ρ‹]/[имя-Ρ„Π°ΠΉΠ»Π°] 

Apparently, it was conceived, but it is not clear what the numbers in the name of the subfolder are?

How can I make the downloadable files stored in folders with names as id?

Roughly speaking, you need to upload avatars to the folder: /img/user/id-ΠΏΠΎΠ»ΡŒΠ·ΠΎΠ²Π°Ρ‚Π΅Π»Ρ.jpg ,
And pictures of ads in: / /img/ads/id-объявлСния/Π½Π°Π·Π²Π°Π½ΠΈΠ΅-ΠΊΠ°Ρ€Ρ‚ΠΈΠ½ΠΊΠΈ.jpg ads/ /img/ads/id-объявлСния/Π½Π°Π·Π²Π°Π½ΠΈΠ΅-ΠΊΠ°Ρ€Ρ‚ΠΈΠ½ΠΊΠΈ.jpg ads / /img/ads/id-объявлСния/Π½Π°Π·Π²Π°Π½ΠΈΠ΅-ΠΊΠ°Ρ€Ρ‚ΠΈΠ½ΠΊΠΈ.jpg .

Also unclear is the moment with simultaneous downloading of files by several users. Are all files loaded into one folder or can they be divided into folders bound to a user?

Perhaps I do not understand something and there is a simple solution to this problem.
Sorry, I have been working with yii recently ...

    1 answer 1

    Hello!

    Look at the actions / XUploadAction.php class, there is a configuration variable $ subfolderVar, the description of which reads: "mdY" , i.e. If you did not specify the subfolderVar parameter in the connection settings, then the extension will create a folder named by date - MMDDYYYY, this, as I understand it, is your "incomprehensible numbers."