hello. I know how to use curl, but don't know how to save a file on the server. consume we want to access the file located in the http://www.sth.com/file.zip address and store it on our server. How to begin and proceed with it?
1- configure curl to send a get request using appropriate headers & ..
2- ??
3- ??
or some advice bundled with code!
thanks.