How to download all file content from a folder using wget and http
Posted
by
user1526912
on Super User
See other posts from Super User
or by user1526912
Published on 2012-11-06T15:05:48Z
Indexed on
2012/11/08
11:08 UTC
Read the original article
Hit count: 309
I am trying to use wget
and http to download all contents from folderAA below to directory /root/sstest
wget -r --directory-prefix="/root/sstest" -o /root/sstest2.log http://site.com/folder1/folder2/folderAA/
When I submit the above command nothing is downloaded.
If I submit a wget
request for a specific file from folderAA the file is actually downloaded to /root/sstest
:
wget -r --directory-prefix="/root/sstest" -o /root/sstest2.log http://site.com/folder1/folder2/folderAA/file.txt
Can someone tell me why I cannot download all file content from folderAA at once using the first wget
request?
© Super User or respective owner