Reply To: Download restriction question

Forums General Download restriction question Reply To: Download restriction question

#648
Carole Asselin
Participant

Deprecated: wp_make_content_images_responsive is deprecated since version 5.5.0! Use wp_filter_content_tags() instead. in /nfs/c09/h02/mnt/138233/domains/s2member.net/html/wp-includes/functions.php on line 4773

As i am slowly digging into these download restrictions, i am trying to figure out how the links will be changed to be ‘tracked’ by s2M, and i am at loss.

For example, the videos i have on Amazon s3, would have a download link that looks like this:
[video src="https://evs-hosted-151211b109649b.s3.amazonaws.com/inthenewswithpsp.mp4" /]

What will it look like if i want to protect it (so it can be counted)?

For all the current written documents downloads, the links are currently like this:
http://scrapbookcampus.com/Webinars/InTheNewsWithPSP.zip

From what i understand, i have to move those files into a “protected” folder in s2M, so i did this:
http://scrapbookcampus.com/wp-content/plugins/s2member-files/Webinars/InTheNewsWithPSP.zip

However, it gives me a 404 error.

I tried this too:
[s2File download="InTheNewsWithPSP.zip"/]

And i am getting this error message:
<Error>
NoSuchKey
<Message>The specified key does not exist.</Message>
<Key>InTheNewsWithPSP.zip</Key>
<RequestId>01E76E59A6AA9FF3</RequestId>
<HostId>
mH5k5nAV34Y3mo5vTniGMOdF3qW9Vd3JDeRhbjI7nXo4x4zDSjCAJkHgJ08byzhyV3fgeko6OfA=
</HostId>
</Error>

What key is this referring to? What am i doing wrong?

I have only started moving/copying files into that particular s2M folder, so i can plan on changing the actual link when i can figure out what they are supposed to look like, but i likely didn’t get it right yet.

Thanks.