tompohl
15p9 comments posted · 0 followers · following 0
33 weeks ago @ Tom's World - Mud, Sweat, and Tears · 0 replies · +1 points
61 weeks ago @ Tom's World - HOWTO: Track your mac · 0 replies · +1 points
Here, add a second line under the curl line I suggested earlier:
curl -T /.locateme/images/taken/$datetime.jpg -u $USER:$PASS $BASEURL/latest.jpg
61 weeks ago @ Tom's World - HOWTO: Track your mac · 0 replies · +1 points
Change:
/usr/bin/curl -u $USER:$PASS -F uploadedfile=@/.locateme/images/taken/$datetime.jpg $BASEURL/
to:
curl -T /.locateme/images/taken/$datetime.jpg -u $USER:$PASS $BASEURL
And also change $BASEURL in locateme.conf to something like ftp://mywebhost.com/uploaddir/
The only thing that you'll miss out on is where the php script symlinks the latest image to latest.jpg, but it would at least get the file out to the server!
61 weeks ago @ Tom's World - HOWTO: Track your mac · 0 replies · +2 points
62 weeks ago @ Tom's World - Kryptos · 0 replies · +1 points
88 weeks ago @ Tom's World - Dear Google: You impre... · 0 replies · +1 points
96 weeks ago @ Tom's World - HOWTO: Track your mac · 0 replies · +1 points
102 weeks ago @ Tom's World - HOWTO: Track your mac · 0 replies · +1 points
107 weeks ago @ Tom's World - HOWTO: Track your mac · 0 replies · +1 points
Brainchild