Macromedia Flash Server - get list of streams from server

This is Interesting: Free IT Magazines  
Home > Archive > Macromedia Flash Server > April 2005 > get list of streams from server





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author get list of streams from server
Jed Wood

2005-04-07, 5:50 pm

In a "regular" web server environment (for example, with PHP), it's a
pretty short an easy script to run through a directory and return a
list of files. What's the easiest way to accomplish this for streams in
FlashCom? I have these .flvs in the apps/myApp/streams/_definst_
directory. How can access that list dynamically? I realize I could
create a separate XML or Database list that updates whenever a new one
is added, but I want to just be able to FTP a new .flv into that
directory and have it update automatically.

Thanks,
-Jed


=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

Jayson K Hanes

2005-04-07, 5:50 pm

Take a gander here:

http://php.planetmirror.com/manual/en/ref.dir.php

-Jayson

Ps. Or google "php directory listing" etc..

> -----Original Message-----
> From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org [mailto:flashcomm-
> bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of Jed Wood
> Sent: Sunday, February 27, 2005 11:40 PM
> To: FlashComm Mailing List
> Subject: [FlashComm] get list of streams from server
>=20
> In a "regular" web server environment (for example, with PHP), it's a
> pretty short an easy script to run through a directory and return a
> list of files. What's the easiest way to accomplish this for streams

in
> FlashCom? I have these .flvs in the apps/myApp/streams/_definst_
> directory. How can access that list dynamically? I realize I could
> create a separate XML or Database list that updates whenever a new one
> is added, but I want to just be able to FTP a new .flv into that
> directory and have it update automatically.
>=20
> Thanks,
> -Jed


=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

Jed Wood

2005-04-07, 5:50 pm

right, I know how to make it work using php in a regular web directory.
Maybe it's no different, but my existing installation has FlashCom
running in a directory completely outside the regular web path. Does
that make sense? Is there maybe just some server-side actionscript I
could run?

Thanks,
-Jed


On Feb 27, 2005, at 10:43 PM, Jayson K Hanes wrote:

> Take a gander here:
>
> http://php.planetmirror.com/manual/en/ref.dir.php
>
> -Jayson
>
> Ps. Or google "php directory listing" etc..
>
> in
>
> =-----------------------------------------------------------
> Supported by Fig Leaf Software - http://www.figleaf.com
> =-----------------------------------------------------------
>
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
>



=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

Stefan Richter

2005-04-07, 5:50 pm

No, you cannot access the file system via ASC but this may be a feature that
is coming up in the next release.

What you can do is map your streams directory to a folder that's accessible
to PHP.

Stefan




-----Original Message-----
From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
[mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of Jed Wood
Sent: 28 February 2005 21:47
To: FlashComm Mailing List
Subject: Re: [FlashComm] get list of streams from server


right, I know how to make it work using php in a regular web directory.
Maybe it's no different, but my existing installation has FlashCom
running in a directory completely outside the regular web path. Does
that make sense? Is there maybe just some server-side actionscript I
could run?

Thanks,
-Jed


On Feb 27, 2005, at 10:43 PM, Jayson K Hanes wrote:

> Take a gander here:
>
> http://php.planetmirror.com/manual/en/ref.dir.php
>
> -Jayson
>
> Ps. Or google "php directory listing" etc..
>
> in
>
> =-----------------------------------------------------------
> Supported by Fig Leaf Software - http://www.figleaf.com
> =-----------------------------------------------------------
>
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
>



=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm


=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

Sean Moran

2005-04-07, 5:50 pm


As long as permissions are set up right, php can access any folder on
the system - so if you are running on linux, for example, you could
either
a) set a cron job to update the file list every 15 min or some interfal
b) depending on how you are uploading, you could trigger the refresh of
the list when an upload is complete.

We are doing 'b'. Uploads come through a form so I know when a file is
uploaded successfully and I can refresh the list or xml playlists as
needed.

In another server setup, we have the www on a linux cluster and FCS on
a windows box. Same thing works by setting up a samba share between the
two servers - so I now have a fcs_apps dir on the cluster that points
to the apps dir on the fcs win server.


I would be very surprised if FCS 2 did not have server side file system
access.

hth,
Sean


=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com