blob: cecf1960d0f5e15d5cc93b1dc3061922a26d36fb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#!/bin/sh
set -e
cd `dirname $0`
urweb -dbms sqlite dbupload2
rm -rf dbupload2.db || true
sqlite3 dbupload2.db < dbupload2.sql
./dbupload2.exe -p 8083 &
sleep 1
touch /tmp/empty
curl --verbose -F"operation=upload" -F"filename=@/tmp/empty" http://localhost:8083/Blabla/bla
|