Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fix(FTP Node): Fix issue with creating folders on rename #9340

Merged
merged 3 commits into from
Dec 10, 2024
Merged

Conversation

Joffcom
Copy link
Member

@Joffcom Joffcom commented May 8, 2024

Summary

We were not using the createDirectories option on FTP rename for folders that didn't exist, This PR will try to create a directory if this option is set and if the server returns a 451 error code. We may need to add more error codes in the future depending on FTP server implementation, This was tested with pure-ftpd.

Related tickets and issues

https://linear.app/n8n/issue/NODE-1946/the-system-cannot-find-the-path-specified-error-in-ftp-node
Closes #9296

@n8n-assistant n8n-assistant bot added n8n team Authored by the n8n team node/improvement New feature or request labels May 8, 2024
@evok01
Copy link

evok01 commented Aug 26, 2024

Any chance this getting approved for the next release? Very much so looking forward to this fix. :)

Copy link

codecov bot commented Nov 5, 2024

Codecov Report

Attention: Patch coverage is 0% with 8 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
packages/nodes-base/nodes/Ftp/Ftp.node.ts 0.00% 8 Missing ⚠️

📢 Thoughts on this report? Let us know!

@ShireenMissi ShireenMissi added the tests-needed This PR needs additional tests label Nov 18, 2024
Copy link
Contributor

@ShireenMissi ShireenMissi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🎉

Copy link

cypress bot commented Dec 10, 2024

n8n    Run #8274

Run Properties:  status check passed Passed #8274  •  git commit 84fc2f91e2: 🌳 🖥️ browsers:node18.12.0-chrome107 🤖 Joffcom 🗃️ e2e/*
Project n8n
Branch Review gh/9296
Run status status check passed Passed #8274
Run duration 04m 24s
Commit git commit 84fc2f91e2: 🌳 🖥️ browsers:node18.12.0-chrome107 🤖 Joffcom 🗃️ e2e/*
Committer Jonathan Bennetts
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 1
Tests that did not run due to a developer annotating a test with .skip  Pending 2
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 459
View all changes introduced in this branch ↗︎

Copy link
Contributor

✅ All Cypress E2E specs passed

@ShireenMissi ShireenMissi merged commit eb7d593 into master Dec 10, 2024
38 checks passed
@ShireenMissi ShireenMissi deleted the gh/9296 branch December 10, 2024 14:33
@github-actions github-actions bot mentioned this pull request Dec 11, 2024
@janober
Copy link
Member

janober commented Dec 11, 2024

Got released with n8n@1.72.0

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
n8n team Authored by the n8n team node/improvement New feature or request Released tests-needed This PR needs additional tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

FTP node doesn't seem to create directories
4 participants