-
Notifications
You must be signed in to change notification settings - Fork 10.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(FTP Node): Fix issue with creating folders on rename #9340
Conversation
Any chance this getting approved for the next release? Very much so looking forward to this fix. :) |
Codecov ReportAttention: Patch coverage is
📢 Thoughts on this report? Let us know! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🎉
n8n Run #8274
Run Properties:
|
Project |
n8n
|
Branch Review |
gh/9296
|
Run status |
Passed #8274
|
Run duration | 04m 24s |
Commit |
84fc2f91e2: 🌳 🖥️ browsers:node18.12.0-chrome107 🤖 Joffcom 🗃️ e2e/*
|
Committer | Jonathan Bennetts |
View all properties for this run ↗︎ |
Test results | |
---|---|
Failures |
0
|
Flaky |
1
|
Pending |
2
|
Skipped |
0
|
Passing |
459
|
View all changes introduced in this branch ↗︎ |
✅ All Cypress E2E specs passed |
Got released with |
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