Allow file upload

- add upload/simple
 - add upload/poll_upload
 - add "put" command to mfshell
 - add http POST method
This commit is contained in:
josch
2014-12-04 10:34:54 +01:00
parent 1e15dcc16b
commit f1bf926145
12 changed files with 515 additions and 12 deletions

View File

@@ -52,6 +52,7 @@ struct mfcmd commands[] = {
{"links", "[quickkey]", "show access urls for the file",
mfshell_cmd_links},
{"get", "[quickkey]", "download a file", mfshell_cmd_get},
{"put", "[local filename]", "upload a file", mfshell_cmd_put},
{"rmdir", "[folderkey]", "remove directory", mfshell_cmd_rmdir},
{"rm", "[quickkey]", "remove file", mfshell_cmd_rm},
{"status", "", "device status", mfshell_cmd_status},