From 701e2f3804ee73998e4557703d8c3b441fedaa25 Mon Sep 17 00:00:00 2001 From: CaCO3 Date: Thu, 5 Jan 2023 23:09:32 +0100 Subject: [PATCH] - --- docs/Upload-files-by-script.md | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 docs/Upload-files-by-script.md 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 +```