K
K
Konstantin Khairov2017-07-20 15:26:39
linux
Konstantin Khairov, 2017-07-20 15:26:39

How to wget with cookies?

Hi everyone, I'm new to Linux and I'm running into a problem. I need to download a file from another server, but the file from there is not given without authorization (Authorization via Google). Is it possible to store cookies from sites on my PC and pass them to the wget functions. What would the server understand that the download comes from an authorized user? Thank you in advance .

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Burov, 2017-07-20
@Kaylos

https://www.gnu.org/software/wget/manual/wget.html
Load cookies from file before the first HTTP retrieval. file is a textual file in the format originally used by Netscape's cookies.txt file.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question