General Community > Scripting Help

Index folder on other server

(1/2) > >>

Cadish:
Hi,
I want to index a folder on another server. How can i do this?

(with indexing a folder, i mean get a list of all the files in that folder)

Thx

[Unknown]:
There's no way really, without internet access.

One way is to just harvest links, and try to find all the links... but that doesn't work to well.

Of course, this is if you don't get a listing when you try to access the folder... but then, why would you be asking?

-[Unknown]

Cadish:
Is it possible in cgi?

Chris Cromer:
As [Unknown] said, why are you asking how to do it? Give us a ligit reason and you might be helped... otherwise it just sounds like your trying to hack someone.

Cadish:
I have a php script (self-made) running on my server that allows users to view pictures more easily. I want to allow users to add their pictures too, but not on my server (because i don't have much space (50mb)).
I'm at a university (like all of my users), so each user has some space on a server of the university. So the users can upload their pictures on that server. If they give a link of the folder to me, i can index the folder to get all the pictures in it. And so display all of them with my script on my server.

One thing to do, is that they put a .txt file (with all the names of the pictures) in the folder, and that i use fopen and fread to get the names. But then the users have to make such a file, which is not very user-friendly ;)

So that's the reason i want to index some folders...

PS The university doesn't allow scripting, like php or cgi.

Navigation

[0] Message Index

[#] Next page

Go to full version