A
A
angelzzz2016-01-19 09:28:19
Wget
angelzzz, 2016-01-19 09:28:19

How to correctly formulate a wget request?

You need to copy the www.domain.com/XML/daily.xml file to your server in the /home/name/name2/docs/xml/ folder daily and name it daily.xml. If you do not specify a name, then the last file takes the serial number daily.xml.7, daily.xml.6, daily.xml.5, and so on.
Here is my non-working query:

wget -P /home/name/name2/docs/xml/  http://www.domain.com/XML/daily.xml -O daily.xml

For some reason it doesn't work

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dimonchik, 2016-01-19
@angelzzz

sysadmins.ru/topic108947.html
serverfault.com/questions/171369/how-to-allow-wget...
as you can see, everything is banal - you just need to set the file name

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question