卷曲PUT“方法不允许”


1

我想简单地使用curl和PUT方法将文件存储到我在Windows 7上运行的家庭apache web服务器。当我发出一个简单的命令时:

curl --upload-file /path/to/file/badname --url http://serverip

我收到一个错误:

Method not allowed

我必须在apache上有任何处理程序脚本,只需使用curl和PUT在服务器上添加/存储文件吗?

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.