I'm trying to download multiple files and need to rename as I download, how can I do that and specify the directory I want them to download to? I know i need to be using -P and -O to do this but it does not seem to be working for me. I'm writing this into a php script and running on unix.
Tell me more
×
Server Fault is a question and answer site for
professional system and network administrators. It's 100% free, no registration required.
|
You have to either specify the
OR
In the first example it will download anything you want to the specified directory and at the 2nd example it will download the file with the new given name to the given directory. |
|||||||
|