Exception when trying to FTP upload with a empty file set

The condition field is actually a Script so you can’t use the expression there, however you can use the If Then… action to achieve this.