Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I'm using wget 1.10.2 which doesn't have the auth problem, what I'm getting is when I run:

wget --user=myname --password=pwd http://the.sharepoint.link

it only downloads an aspx file which is the page's content.

How could I download the exact files?

share|improve this question
    
what is your script environment? –  Steve B Jul 19 '12 at 10:31
    
script environment? I'm using windows xp, and using wget for windows the version of wget is 1.10.2 –  shengy Jul 23 '12 at 1:25

1 Answer 1

You can tell wget to follow links, only go one level deep and not visit external sites. You do however need to have links to the documents on the page you start with otherwise it won't grab the files. Remember wget is essentially a html scraper, it isn't going to be able to view the contents of SharePoint as a directory unless rendered like that on the page.

share|improve this answer
    
wget -r -l 1 -A doc http://our.sharepoint.com/Folder this will miss some files. Don't know why, I solved the problem using chrome's Download Master plugin. –  shengy Jul 23 '12 at 1:28

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.