E
E
evgeniy_omh2019-11-05 10:55:04
Wget
evgeniy_omh, 2019-11-05 10:55:04

How to download wget with authorization?

Good afternoon, can anyone help?
It seems that the task is simple, but it doesn’t work.
There is a link to download the file ( www.komus-opt.ru/personal/download_pricelist.php?f... without authorization, it does not open, i.e. first you need to go to the personal account of the komus, only then the link opens It is
required to create a line for downloading this link via cron and saving it to the folder I need:
I do this:
/usr/bin/wget -O /var/www/u435345/data/www/site.ru/price/komus.xml - http-user=mylogin –http-pass=mypassword ' www.komus-opt.ru/personal/download_pricelist.php?f... '
Nothing comes out, there is an error somewhere. Please help with the line

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question