Solved fetch vs. wget

I found that I needed to use these parameter to retrieve wordpress:-

wget -o - --no-check-certificate https://wordpress.org/wordpress-5.3.2.tar.gz

Can I do something like this using fetch()

I used to be able to do something like this:-

fetch -o - https://wordpress.org/latest.tar.gz | tar xSf - --strip 1

but am unable to do so now.
 
Back
Top