'Download a file to PC using wget command
I want to download a file from a cloud server to my PC using wget command in Ubuntu. Following is what I executed in terminal.
wget --output-document=backup.sql http://example.com/backups/20.08.15_08.41.sql
It says file 'backup.sql' is saved. But when I check in my downloads I don't see a file like that. Please help me to find where I have been done the wrong thing.
Solution 1:[1]
Try this wget -P /home/username/Downloads http://example.com/backups/20.08.15_08.41.sql/backup.sql
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Harish Ravi Kumar |
