Azure DevOps pipeline upload to FTP after create directory on remote server
I'm just about positive that this Task is buggy and custom FTP Commands do not work at all. However, if the directory you specify in "Remote directory" does not exist it will be created so don't worry about doing a mkdir.