Вопрос

I'm trying to create a simple FTP server, and I'm not sure how to implement REST correctly.

The documentation says that the REST command affects the command immediately following it, but it doesn't say which commands can follow REST.

I assume it's used mostly for RETR, so a file download can be resumed, but I'm not sure about STOR, since APPE already does that.

Это было полезно?

Решение

I found the answer in the RFC - REST can be followed by APPE, STOR, or RETR.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top