Add files to dropbox with single curl command
I have been thinking of posting this for sometime now. This is very useful, when you are working on a different Linux box and want to upload a file to dropbox.
So, before you run this command, you need to create your auth token in Dropbox developer API page. Once that is done, need to change the 2 parameters in command below. Export your Access token and run the below command.
Continue readingcURL – Tutorial
Here are linkw to two nice tutorials on curl and how to use curl to login before we try to fetch a page. Hope you find them useful.
http://curl.haxx.se/docs/httpscripting.html
http://www.youtube.com/watch?v=XcgQUsorF_8
http://scriptasy.com/php_11/tutorial-curl-login_44.html
Related articles by Zemanta {."zemanta-related-title"}
- How To Display Just The HTTP Response Code In CLI Curl (beerpla.net)
wordpress blog stats monitoring from remote using curl and bash and send it in mail.
Here’s something that I had been planning to do for sometime now. I have my blog on wordpress and have Statpress plugin installed. The plugin does give me a good idea of the visits to my site. Now, I have to keep logging in every now and then to check the stats. Also since I did not want to spend some more amount 🙂 so I do not have the shell access to the server, too bad 🙁
Continue reading