"Move" operation will treat moveDirectory as a file if missing a trailing / #160
Labels
area/plugin
Plugin-related issue or feature request
bug
Something isn't working
good first issue
Great issue for new contributors
Describe the issue
If sftp task is configured to move file(s), if the moveDirectory is missing a trailing
/
it will treat the directory as a fileon the SFTP host set up the following
mkdir -p /home/user/data/sftp_loc
echo testing >> /home/user/data/my_file.txt
Allow trigger to execute. Observe that
/home/user/data/sftp_loc
is now a file containing the word "testingExpectation is that with or without the trailing
/
"moveDirectory" should be treated as a directoryEnvironment
The text was updated successfully, but these errors were encountered: