Skip to content
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

Semantics of ftpwho transfer_bytes #1755

Open
iosc82 opened this issue Dec 15, 2023 · 0 comments
Open

Semantics of ftpwho transfer_bytes #1755

iosc82 opened this issue Dec 15, 2023 · 0 comments

Comments

@iosc82
Copy link

iosc82 commented Dec 15, 2023

In a scenario where a file download is resumed, what are the semantics of the "transfer_bytes" field in ftpwho's JSON output?

It appears that prior to 1.3.7rc1, it used to mean "the position relative to the start of the file".
Starting with 1.3.7rc1, it appears that it is the number of bytes transferred during the current command (position relative to the restart point).

In resume scenarios, these differ.

I haven't found any mention of this in the Release Notes or NEWS of 1.3.7rc1, nor any GitHub issues addressing this.

What is the intended way to interpret this going forward? If it's the second, is there currently any provision to obtain the absolute position in the file?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant