SFTP Node: Breaking Change to $binary.data.fileName
#6026
Labels
in linear
Issue or PR has been created in Linear for internal review
$binary.data.fileName
#6026
Describe the bug
We use the
{{$binary.data.fileName}}
property to reference binary files downloaded by the SFTP node. In0.202.0
,{{$binary.data.fileName}}
was the actual file name. In0.219.1
,{{$binary.data.fileName}}
no longer contains the original file name, it contains the file path of the original file.To Reproduce
Steps to reproduce the behavior:
$binary.data.fileName
references the full path (e.g./data/test/file.txt
).Expected behavior
$binary.data.fileName
property should ideally display the fileName, not the full path (e.g.file.txt
).Environment (please complete the following information):
Additional context
I believe this may be an unintended side effect of #5296.
If this is expected behaviour or aligns with other nodes, we can make the move to changing our workflows. However just wanted to note the difference from the older version. Thanks!
The text was updated successfully, but these errors were encountered: