This question already has an answer here:
Here I'm trying to check whether the file exist or not.but the below code doesn't return anything and
also get the error at this line
Error line : Boolean t = fileslist.Exists()
def ftpClient = new FTPClient()
FTPFile fileslist = ftpClient.listFiles("/Sample.txt")
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
© 2016 Powered by mzan.com design MATCHINFO