Is your feature request related to a problem? Please describe.
I encounter an ongoing challenge while working with FTP configured using the ProFTPD module mod_rename.
Within this configuration, the process of overwriting files is cumbersome. For instance, when attempting to overwrite a file such as file.txt that already resides on the server, the file undergoes a renaming process that appends prefixes or suffixes, resulting in names like file.txt.1, file.txt.2, and so on.
Describe the solution you'd like
I propose to introduce an option to delete the target file first before proceeding upload.
Is this a similar or duplicate feature request?
Is your feature request related to a problem? Please describe.
I encounter an ongoing challenge while working with FTP configured using the ProFTPD module mod_rename.
Within this configuration, the process of overwriting files is cumbersome. For instance, when attempting to overwrite a file such as
file.txt
that already resides on the server, the file undergoes a renaming process that appends prefixes or suffixes, resulting in names likefile.txt.1
,file.txt.2
, and so on.Describe the solution you'd like
I propose to introduce an option to delete the target file first before proceeding upload.
To navigate around this limitation, I have explored an effective workaround presented in the commit https://github.com/leVirve/sftp-replay/commit/938f1bfcd087884c7c801806044bcb6283eccebb. This solution has proven successful in my specific use case. I am inclined to contribute to this enhancement by initiating a pull request.
Does this project help you?