I have to get multiple CSV files from user share path and copy that file move to another shared path but the condition is bot check first is all files are there if it’s not bot mail to user den again bot check that files available or not.
There is folder month wise we have to check current month folder inside that file is there
Hi @suraj_gaikwad ,
You need check share path, destination existed, then copy to destination.
But you need check policy of folder with robot
the owner need share role copy to robot
regards,
Hi @suraj_gaikwad ,
we can call strPath
\10.23.20.50\f\share\Bot\files
strFile = strPath+subPath + file name
subPath is NOV23, OCT23… that’right, they based on time
you can get in current day, that’s right?
you can get by datetime.now.toString(MMyy) , will get as NOV23,…
then get filename :
in this step, you want get file of which month ?
if current month
strFile = strPath + strSubPath+ “MCX_MRG_56520_” + datetime.now.toString(yyyymmdd)
regards,