Simple cURL example


/ Published in: Bash
Save to your folder(s)

This example will go get the latest version of wordpress and save it as "wordpress-latest.tar.gz" in the current directory. Note, don't include the protocal (http://) in the url.


Copy this code and paste it in your HTML
  1. curl wordpress.org/latest.tar.gz > wordpress-latest.tar.gz

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.