473,569 Members | 2,691 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

List files on remote site ?

All,
Recently our TiVos were upgraded to include a webserver. Is it possible for
me to run a PHP script from my machine and have it somehow retrieve a
listing of all the files in subdirectory that are on the TiVo ?

The remote addresses are:
http://(my tivo ip)/ChannelLogo/
and
http://(my tivo ip)/images/

Thanks.
Jul 17 '05 #1
1 2973
m|sf|t wrote:
All,
Recently our TiVos were upgraded to include a webserver. Is it possible
for me to run a PHP script from my machine and have it somehow retrieve a
listing of all the files in subdirectory that are on the TiVo ?

The remote addresses are:
http://(my tivo ip)/ChannelLogo/
and
http://(my tivo ip)/images/

Thanks.


Hi,

No, you cannot.
You can however make a (very simple) script that reads files in a directory
and returns them.
Call that script and you have your files.

CHeck http://nl2.php.net/manual/en/function.scandir.php
(If you run php5)

If you run lower than PHP5, you can easily do the same using filefunctions
(just a little bit more code)

Regards,
Erwin Moller
Jul 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
20984
by: Harold Crump | last post by:
Greetings, I need to get a list of all files in a particular virtual directory on a web site, such as - http://www.myServer.com/FileStore I tried using the directory functions, but this doesn't work. if($dirHandle = opendir("http://www.myServer.com/FileStore/")) {
9
1714
by: Tommy | last post by:
Hi I've uploaded the .aspx files and Web.config file made in VS.NET 2003 but I get this error http://empty- site.org/Login.aspx . I did change the config file as mentioned but with no luck . can somebody help ? TIA Tommy
0
1347
by: GrantMagic | last post by:
Hi I am currently trying to use a test machine to access web site files on a remote machine. Once set up IIS with the files pointing to a share on the remote machine, i try view the default page. I get an error message statting 'The base type 'NameSpace.Class.Default' does not exist in the source file 'Default.cs'.' where namespace and...
1
1770
by: Yosef (mfishov | last post by:
Hellow. Please tell me how one can connect to remote computer via HTTP address, search there files and download them Thanks
2
1623
by: AAJ | last post by:
Hi all I have a few questions about file locations with VS2005, localhost WidowsXP and remotehost Server2003, and I wonder if anyone can help me get started 1) If I build a web site on my local server i.e. Creat WebSite from the opening menu, I can select my local webserver. Most of the files seem to be within InetPub\wwwroot\website\...
0
1089
by: cxian | last post by:
Hi all, I am quite a beginner in PHP and happens that I have a problem with accessing remote files that gets me frustrated for two weeks now. This site I have running on PHP provide to download video files that is stored in the same server. Unfortunately, I'm losing space and decided to moved some of the video files to other server. I used...
0
1512
by: cxian | last post by:
Hi again! I am going really desperate on this problem that I have in downloads. Please somebody who have a better idea to solve things out, please help. Just like I mentioned. I have a site that end users can download/upload video files. The videos is stored in the same server as well as the php codes, though of course in different...
1
2566
by: mmohanra | last post by:
I am trying to list files in a folder in a remote server. I am using Scripting.FileSystemObject. This seems to be really slow. After a long time the connection times out. Is there any other way to list files in a folder? Below is the current code: Dim fs, f, fc Set fs = CreateObject("Scripting.FileSystemObject") Set f =...
0
1387
by: mlfblom | last post by:
Hi, I am running visual studio 2005 on a Vista Ultimate client. I have created a remote site on a Windows 2003 R2 server. This site has about 100 aspx, many App_Code files and several references to DLL's. When I open the remote site within VS 2005 on the client machine, I takes very, very long before the site is opened and the solutione...
0
7695
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7612
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7922
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7668
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7964
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5509
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3637
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1209
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
936
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.