You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
SFTPOperator DELETE operation should not error if the file/directory is already absent #56190
SFTPOperator DELETE operation should not error if the file/directory is already absent.
If having this as the default behaviour is not appropriate, I would suggest adding a parameter to ignore this specific error.
Use case/motivation
I have a SFTPOperator deleting a folder, so a subsequent SFTPOperator can PUT a new version of the folder's content.
When the folder does not exists initialy, the first operator crashes.
I expect the DELETE operation to succeed by default when there is nothing to delete, or at least have the option to ignore the error in case the directory is non existant (I don't want to ignore other error, like connection failure, permission issues, ...)
Thanks for opening your first issue here! Be sure to follow the issue template! If you are willing to raise PR to address this issue please do so, no need to wait for approval.
As a new contributor looking to get involved, I'd love to take on this as my first issue. I'll start working on it and will aim to submit a PR in the coming days.
This is not meant to discourage your contribution — quite the opposite! You are still very welcome to work on this issue and submit a PR for it. Simply comment that you are working on it and open a PR when ready.
We found that formal assignments were not working well, as they often prevented others from contributing when the assignee was not actively working on the issue.
This is not meant to discourage your contribution — quite the opposite! You are still very welcome to work on this issue and submit a PR for it. Simply comment that you are working on it and open a PR when ready.
We found that formal assignments were not working well, as they often prevented others from contributing when the assignee was not actively working on the issue.
Activity
boring-cyborg commentedon Sep 28, 2025
Thanks for opening your first issue here! Be sure to follow the issue template! If you are willing to raise PR to address this issue please do so, no need to wait for approval.
kaxil commentedon Sep 29, 2025
Emitting a warning if file is already absent is fine.
MadScientistBR commentedon Sep 29, 2025
Hello everyone,
As a new contributor looking to get involved, I'd love to take on this as my first issue. I'll start working on it and will aim to submit a PR in the coming days.
thanks!
Sucheta-Gupta commentedon Sep 29, 2025
Hi
I would like to submit a PR for this .
cc : @rawwar
Best
Sucheta
potiuk commentedon Mar 2, 2026
@Sucheta-Gupta We are unassigning you from this issue as part of our updated assignment policy.
This is not meant to discourage your contribution — quite the opposite! You are still very welcome to work on this issue and submit a PR for it. Simply comment that you are working on it and open a PR when ready.
We found that formal assignments were not working well, as they often prevented others from contributing when the assignee was not actively working on the issue.
potiuk commentedon Mar 2, 2026
@MadScientistBR We are unassigning you from this issue as part of our updated assignment policy.
This is not meant to discourage your contribution — quite the opposite! You are still very welcome to work on this issue and submit a PR for it. Simply comment that you are working on it and open a PR when ready.
We found that formal assignments were not working well, as they often prevented others from contributing when the assignee was not actively working on the issue.