Lesson 5- Retrieve File List From Web Directory
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Lesson 5- Retrieve File List From Web Directory
Hi Everyone,
Another great question was asked during the Q & A session in regards to how a file list can be retrieved from a web directory. I have created a lesson on one way that this can be achieved-
http://lessons.runrev.com/s/lessons/m/2 ... -directory
This example retrieves the source of the web directory and then extracts the required data rom this
If you have any question regarding this lesson, please feel free to ask them here
Kind Regards,
Neil Roger
--
RunRev Support Team ~ http://www.runrev.com
--
Another great question was asked during the Q & A session in regards to how a file list can be retrieved from a web directory. I have created a lesson on one way that this can be achieved-
http://lessons.runrev.com/s/lessons/m/2 ... -directory
This example retrieves the source of the web directory and then extracts the required data rom this
If you have any question regarding this lesson, please feel free to ask them here
Kind Regards,
Neil Roger
--
RunRev Support Team ~ http://www.runrev.com
--
Re: Lesson 5- Retrieve File List From Web Directory
Hi Neil,
I was person who asked this question on the webinar. thanks for creating an example of this. I have tried this example with your url directory and works perfectly, when i replace it with my own url which has a list of video files I get:- [DIR]
[VID]
etc, just a list of [VID] & [IMG].
I was person who asked this question on the webinar. thanks for creating an example of this. I have tried this example with your url directory and works perfectly, when i replace it with my own url which has a list of video files I get:- [DIR]
[VID]
etc, just a list of [VID] & [IMG].
Re: Lesson 5- Retrieve File List From Web Directory
Hi dbailey,
I'm glad my example was of some assistance.
From you reply Im not sure if your managed to get the example to work with your URL? If you did not, please supply the URL in question and I will try to adjust the example to work with it.
Kind Regards,
Neil Roger
--
RunRev Support Team ~ http://www.runrev.com
--
I'm glad my example was of some assistance.
From you reply Im not sure if your managed to get the example to work with your URL? If you did not, please supply the URL in question and I will try to adjust the example to work with it.
Kind Regards,
Neil Roger
--
RunRev Support Team ~ http://www.runrev.com
--
Re: Lesson 5- Retrieve File List From Web Directory
My account is not allowing me to post links. How do I send private message to you with the details?.
Re: Lesson 5- Retrieve File List From Web Directory
Write the link that way, that the forum does not recognize it as a link:
w w w. w h a t e v e r. c o m
w w w. w h a t e v e r. c o m
Re: Lesson 5- Retrieve File List From Web Directory
ok url IP:
185 14 185 57 /video/
I hope that helps!
185 14 185 57 /video/
I hope that helps!
Re: Lesson 5- Retrieve File List From Web Directory
OK, here the clickable link: http://185.14.185.57/video/
Re: Lesson 5- Retrieve File List From Web Directory
Hi dbailey
Please find attached the file list stack that has been amended for your web server. Only a few changes were made to the button script to reflect the slight differences of your web server compared to an on-rev server.
Kind Regards,
Neil Roger
--
RunRev Support Team ~ http://www.runrev.com
--
Please find attached the file list stack that has been amended for your web server. Only a few changes were made to the button script to reflect the slight differences of your web server compared to an on-rev server.
Kind Regards,
Neil Roger
--
RunRev Support Team ~ http://www.runrev.com
--
- Attachments
-
- FileListServerdbiley.livecode.zip
- (1.74 KiB) Downloaded 484 times
Re: Lesson 5- Retrieve File List From Web Directory
Thanks Neil, now working perfectly! what caused the issue?, would be good to understand for future reference.
Re: Lesson 5- Retrieve File List From Web Directory
Here's my simple program to play a video file, but the video won't play, any ideas?:-
- Attachments
-
- VideoPlayback.zip
- VideoWebPlayer
- (1.9 KiB) Downloaded 436 times
Re: Lesson 5- Retrieve File List From Web Directory
Hi dbailey,
well, it worked after:
1. I added a "on mouseup" and "end mouseup" to the script of your listfield!
2. I removed the SPACE at the beginning of the single line in your listfield: " TestVid1.mov" -> "TestVid1.mov"
No further comment...
Best
Klaus
well, it worked after:
1. I added a "on mouseup" and "end mouseup" to the script of your listfield!
2. I removed the SPACE at the beginning of the single line in your listfield: " TestVid1.mov" -> "TestVid1.mov"
No further comment...
Best
Klaus
Re: Lesson 5- Retrieve File List From Web Directory
oops! this is what sleep deprivation does to you
Thanks Klaus!
Thanks Klaus!
Re: Lesson 5- Retrieve File List From Web Directory
I have now rectified the issues, but still when video is selected it doesn't play, I have removed the Single line in the listfield as the app should load the list of videos from the url.
Re: Lesson 5- Retrieve File List From Web Directory
dbailey wrote:I have now rectified the issues, but still when video is selected it doesn't play, I have removed the Single line in the listfield as the app should load the list of videos from the url.
I have now fixed this and have it working correctly Thanks for all your help everyone!.