I developed a .net core console application and I want to deliver it to a FTP server.
I managed it in Azure Devops with FTP Upload task. All good here.
But before upload content to FTP, I want to make sure that remote directory exists, if not then create.
I put command mkdir test
in FTP command but I got error that command is unknown and deployment is not done
How to achieve that ?
You can use this powershell script to create directory on FTP. You need to simply define a step before uploading file.
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments