Automatic file download via wget

Some discussions just don't fit into a well defined box. Use this forum to discuss general topics and issues revolving around the Church and the technology offerings we use and share.
jfmatav
New Member
Posts: 2
Joined: Mon Jun 19, 2017 11:57 am

Automatic file download via wget

Postby jfmatav » Mon Jun 26, 2017 3:54 pm

Hi,

this is my first time posting here.

I am trying to create a script to automatically download certain files via Unix wget (https://en.wikipedia.org/wiki/Wget) from the Church website. I have the url for the files and just accessing the url will download the file if I am authenticated.

However, when I try to access the url and I am not authenticated, two things happen: either I am redirected to the sign in portal (which is logical), or I get a page stating the link is unavailable along with an error code (I believe it's 21-0909). When I try accessing the link via wget I always obtain the html file with Unavailable. I have tried providing the --user and --password flags to wget with my ldsaccount credentials but I still receive the same Unavailable response.

Has anyone tried downloading content that requires authentication via wget? How can I get this done?

Thank you very much.
Jorge

russellhltn
Community Administrator
Posts: 26398
Joined: Sat Jan 20, 2007 2:53 pm
Location: U.S.

Re: Automatic file download via wget

Postby russellhltn » Mon Jun 26, 2017 4:01 pm

I'm not sure what files you're trying to download, but if you have to be logged in, then automatic retrieval is probably not supported.
Have you searched the Help Center? Try doing a Google search and adding "site:churchofjesuschrist.org/help" to the search criteria.

So we can better help you, please edit your Profile to include your general location.

jfmatav
New Member
Posts: 2
Joined: Mon Jun 19, 2017 11:57 am

Re: Automatic file download via wget

Postby jfmatav » Mon Jun 26, 2017 4:04 pm

I am trying to download some csv registration files for a EFY session in my country.
How would we be able to know for certain? I would like to know something beyond "probably not supported".


Return to “General Discussions”

Who is online

Users browsing this forum: sbradshaw and 1 guest