Running a stack from the On-Rev server.
Alex Tweedly
alex at tweedly.net
Thu Sep 24 05:18:00 EDT 2009
Jim Bufalini wrote:
>
>> There are a few ways, depending on what you wish to do.
>>
>> You can do something like
>> put URL ("file:new.mp3") into
>> ("ftp://user:password@ftp.site.com/mp3s/this.mp3")
>>
>
> Hmmm. Are you saying issue this command from within an irev script? I don't
> think it works from there. Or, to be more precise, I just tried it, and it
> didn't work for me. Of course I changed the appropriate parts first.
>
>
Yes, it worked for me. I'll try again later today, but I know it worked
about a month ago. (I had over-run my broadband usage limit, and they
were rate-limiting my ftp session to 0 - i.e. couldn't use ftp at all. I
could get round this for on-Rev using the file manager in cPanel - but
nothing equivalent on my other websites/servers. So I used the cPanel
file manager to upload a small irev script (called putfileviaftp.irev
:-) which then ftp'ed from on-Rev to the other servers).
>
> As to Rev CGI from on-Rev, you can do this now by just installing Rev CGI to
> your on-Rev account, just like you would do it to any other server.
>
>
Yeah, but I'm being lazy and hoping that on-Rev will make that part of
the standard intstall :-)
It seems like cron and curl could be used to periodically trigger a URL
request - which could be to an irev script on your own site, and that
irev script could then do any file distributions required.
-- Alex.
More information about the use-livecode
mailing list