Ryzee119 / LithiumX

A simple dashboard, mainly developed for the Original Xbox console, but it can be compiled for Windows and Linux for rapid development and testing.
MIT License
72 stars 8 forks source link

Implement REST command #46

Closed Ernegien closed 8 months ago

Ernegien commented 8 months ago

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 commented 8 months ago

Any reason it is still in draft?

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

Ernegien commented 8 months ago

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