1

My wget version is 1.16. I'm tried download video files from webdav page.

Command like this:

wget --http-user=user-id --http-password=password -nd -nH  "http://www.url.com/video/some/"

But I can downloaded only index.html file. What is problem in my command?

Suncheol Kim
  • 13
  • 1
  • 5

1 Answers1

0

Try to enclose links in quotes if it throws syntax errors, international characters are converted to unicode by default. wget accepts multiple arguments simultaneously.

Runnning wget with quotes over all three links from the comment was successfull, not to mention my wget is lower by version than yours, i.e. 1.15.

wget "http://tinymin.asuscomm.com/toby/some_file.mp4" "http://tinymin.asuscomm.com/toby/some_unresolvable_name.mp4" "http://tinymin.asuscomm.com/toby/even_more_scary_name.mp4"

Note: also, do not leave right slash at the end of the link as it directs wget to the wrong way (it treats those links as directories).

Suncatcher
  • 268
  • 4
  • 22
  • Thank you so much for you're answer. I'm already know way to download manually. You're answer need to run 3 times. I would to know download automatically just one command. Could I...? (and English is my mother's language. I'm apologize to you, if I did something mistake to you.) – Suncheol Kim Nov 15 '16 at 08:53
  • @SuncheolKim, just send links as arguments and separate them by spaces. Edited the answer accordingly – Suncatcher Nov 15 '16 at 10:33
  • You're answer is best way at this time. Thank you!! :) – Suncheol Kim Nov 16 '16 at 01:18