A program fault has been recorded in the log
Home arrow Forum

Remository Forum

 


karlolof

Karma: 0  
mambot automatically download - 2008/03/05 04:07 Hi
I'm trying to build a small mambot that automatically download a remository file inside a content.


In the content:
if download does not start automatically after a few seconds, please click on this link {quikremsitory id=xx text=Quickdown 2.1}


Will produce this html:

<script type="text/javascript">
/* <![CDATA[ */
function download(){window.location = 'http://www.remository.com/rem/Remository/download/420/chk,90a6561575360af5c08c5b1f32451633/ no_html,1/'}
/* ]]> */
</script>
<script type="text/javascript"> window.onload=download; </script>

if download does not start automatically after a few seconds, please click on this link <a href="http://www.remository.com/rem/Remository/download/420/chk,90a6561575360af5c08c5b1f32451633/ no_html,1/" rel="nofollow">Quickdown 2.1</a>


Is it possible to use your php-classes to make this work/mambot?

I'm want to use these downloadURL() and downloadLink() found in remositoryFile.php
  | | Sorry, you do not currently have permission to write here.
admin

Karma: 112  
Re:mambot automatically download - 2008/03/11 23:39 Bear in mind that those check codes do not stay constant for more than a day or two! Martin Brampton aka Counterpoint
http://aliro.org
http://black-sheep-research.com
  | | Sorry, you do not currently have permission to write here.
karlolof

Karma: 0  
Re:mambot automatically download - 2008/03/12 21:55 Thanks for the response.
I'm new to program with object in php and remository has a lot of classes.
Do you think you can make a small hint to which class to initial, with a remository ID,
so I can use the downloadURL() and downloadLink()?
  | | Sorry, you do not currently have permission to write here.
admin

Karma: 112  
Re:mambot automatically download - 2008/03/14 16:31 Have a look at p-classes/remositoryRepository.php and it includes methods for generating URIs for Remository. For the function "download" it will automatically create the correct check code. Martin Brampton aka Counterpoint
http://aliro.org
http://black-sheep-research.com
  | | Sorry, you do not currently have permission to write here.
julia789

Karma: 0  
Re:mambot automatically download - 2012/02/29 09:59 You must check if the directories listed above the component list are writable! If the directories are not writable
  | | Sorry, you do not currently have permission to write here.

Save FM Radio

Login

Subscribe to Premium Support

Get priority support for Remository and Glossary, sign up now for a Premium Support monthly subscription:

Your Remository user name

Or purchase a year's support:

Your Remository user name

Who is Online

Remository welcomes guests and visitors

We have 2 guest online

Real Time Web Analytics