I have a filenamed-21012024.zip this is my file and daily the filename will be in ddMMyyyy format only.
I want to upload this let say in a month folder-January 2024/ which is like this.
What i want is bot will check the filename for which month is this filename belongs
Example-if it is 012024 then it will upload in january 2024
@mkankatala this file i want to upload in a website actually there are lot month folders so bot will search the month folder according to file name and then it will upload in that folder.
→ Use Folder Exists activity to check whether whether January 2024 folder exists in that particular path location. Give the below path. You cange C:\ as per yours. Save that into variable. The output will be a boolean datatype.
Path.Combine("C:\",Now.ToString("MMMM yyyy"))
→ Use If condition to check folder exists. If exists it won’t create a new folder, if not it will create a New folder.
@mkankatala i want to upload this file in a website in that website only there are folders available to upload the file and there is a search box also to search the folder name…I dont want to upload this file in directory.