diff --git a/docs/Upload-files-by-script.md b/docs/Upload-files-by-script.md new file mode 100644 index 0000000..5ed431d --- /dev/null +++ b/docs/Upload-files-by-script.md @@ -0,0 +1,6 @@ +# Scripted File Upload +To upload a file eg. using `curl`, you first have to delete it and then upload it: +``` +curl -d '' http://192.168.1.153/delete/html/index.html +curl --data-binary @ota_page.html http://192.168.1.153/upload/html/index.html +```