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

Implement REST command #46

Merged
merged 1 commit into from
Dec 14, 2023
Merged

Implement REST command #46

merged 1 commit into from
Dec 14, 2023

Conversation

Ernegien
Copy link
Contributor

This implements the restart command which allows for resuming interrupted file reads, or in my case, abusing the protocol for efficient file seeking and partial reading. It also fixes a bug in ftp_cmd_retr where a file would continue to be read/transferred after aborting the connection client-side.

@Ryzee119
Copy link
Owner

Ryzee119 commented Dec 14, 2023

Any reason it is still in draft?

Will merge, looks good and didnt appear to break anything. Thank you!

@Ryzee119 Ryzee119 marked this pull request as ready for review December 14, 2023 09:10
@Ryzee119 Ryzee119 merged commit c565c24 into Ryzee119:master Dec 14, 2023
2 checks passed
@Ernegien
Copy link
Contributor Author

It wasn't marked draft for any particular good reason, I was just curious if you wanted it cleaned up any further, but it's at least as good as the rest of the stuff that's there so the merge is fine by me :D

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

Successfully merging this pull request may close these issues.

2 participants