blob: c3b64dee4483bbbaeebdfde4dd4f03dc72655980 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#!/bin/bash
script_path="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
user='admin'
pass='admin'
server='localhost/owncloud'
testfile2="$script_path/zombie.jpg"
blackfire --samples 1 curl -X PUT -u $user:$pass --cookie "XDEBUG_SESSION=MROW4A;path=/;" --data-binary @"$testfile2" "http://$server/remote.php/webdav/test/zombie.jpg"
#curl -X PUT -u $user:$pass --cookie "XDEBUG_SESSION=MROW4A;path=/;" --data-binary @"$testfile2" "http://$server/remote.php/webdav/test/zombie.jpg"
|