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


You need to login to view comments.