linux how to add a file to directory

C++
$ wget <url>
Source

Also in C++: