Can REST be followed by STOR?

青春壹個敷衍的年華 提交于 2019-12-10 11:58:21

问题


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.


回答1:


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



来源:https://stackoverflow.com/questions/13903781/can-rest-be-followed-by-stor

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!