REST可以跟随STOR吗? [英] Can REST be followed by STOR?

查看:143
本文介绍了REST可以跟随STOR吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试创建一个简单的FTP服务器,但我不确定如何正确实现REST。 documentation 表示REST命令会立即影响紧跟其后的命令,但它不会说明哪些命令可以遵循REST。 p>

我假设它主要用于RETR,所以文件下载可以恢复,但我不确定STOR,因为APPE已经做到了。

解决方案

我在 RFC - REST 可以跟着 APPE STOR code>或 RETR


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.

这篇关于REST可以跟随STOR吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆