That's how I upload a file to the Yandex disk.
system ("curl --user $yadisk_email:$yadisk_pass -T $file https://webdav.yandex.ru/$yadisc_dir"); Is it also possible to simply create a folder on the Yandex disk? If not, what is the easiest way tell me?