Error to validate if a ftp file exists

ftp
activities

#1

Scenario: When There are several files which exists in a ftp and there is one that not, using the file ftp exists activity gets as a result true when the file doesn’t exists

Steps to reproduce:

1.- In a excel file, write 4 remote path files that are correct and 1 incorrect
2.- Read these rows and iterate through each one
3.- For each path, determinate if it exists using the activity ftp.activities.fileexists
4.- Print the result in a message box.

Reproduce the issue taking into account the following test case and verify the result
I.- Write the incorrect path at the end
The result will be true
2.- write the incorrect path at the beginning
The result will be false
2.- write the incorrect path at the middle
The result will be True

Current Behavior:

The activity is evaluating wrong the files,

Expected Behavior:

Getting the correct result

Studio/Robot/Orchestrator Version:

Last stable behavior:
Last stable version:
OS Version:
Others if Relevant: (workflow, logs, .net version, service pack, etc):
Basically, my workflow is the next

error


#2

Hi there,

I have come across the same problem.

As a workaround, you can check the property DownloadedFiles of the Download FTP activity, respectively the property UploadedFiles of the Upload FTP activity, to see if the DataTable has any rows.