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
Support OPTS commands for querying configured policy for resumed uploads, downloads #1676
Comments
The particular response codes used here are from RFC 959 (not the best guide, but many clients adhere to it strictly, sadly):
And, as you point out, at time of We could return 503 "Bad sequence of commands" for a The Obviously the "fix" is remove the I guess my next idea might be some custom |
|
I was just re-reading RFC 2389 Section #4, and thought of another possibility: an Currently ProFTPD would reject such an |
Sounds good! |
AllowStoreRestart
on client side…nticated clients can use for querying the configured policy for allowing resumed uploads, download.
Issue #1676: Implement support for an `OPTS REST` command, that authe…
Support for an Let me know if it works, or if you find any issues. Thanks! |
Thanks! I'll try to test it within few days. |
Thanks. Seems to be working fine. Do I understand right that the |
Currently, yes. I understand that there may be per-directory edge cases with this feature; I want to tackle those separately, going forward, as those use cases arise. Honoring the global-level configurations should hopefully handle a majority of use cases. |
Repeatedly I got reports from WinSCP users having problem with uploading to ProFTPD server that has
AllowStoreRestart
disabled (the default, I believe). One of the reports.When the upload is interrupted for whatever reason, WinSCP cannot recover it automatically.
ProFTPD reports
REST STREAM
inFEAT
, so WinSCP believes it can resume the transfer. But it does not work, as ProFTPD fails it withI'm wondering how to improve the user experience here. But there does not seem much WinSCP can do to detect the situation.
FEAT
containsREST STREAM
.451
is too generic.STOR
command, notREST
(I understand that's it because at theREST
command, the server does not know yet, if it's gonna be for upload or download – and the permissions for those are separate).Could you:
REST STREAM
, at least whenAllowStoreRestart
is disabled globally (I guess that it's the most common scenario, as it's the default)? (I understand that the directive can be set per-folder).Thanks.
The text was updated successfully, but these errors were encountered: