![]() |
Browser-based FTP browser
Hey all!
Currently I've been working, just for the fun of it, on a FTP browser. Nothing fancy or anything, but I just want to get some help and feedback if possible. Imagine a index structure like so; Code:
downloadNext to that, the root ( . ) ( « no, that's not a boob) contains files as well. Naturally, the directories are ALSO located in the root because we start scanning from there on out. Now, for the fun part. I already got this; PHP Code:
Now, I can scan the first sublevel of directires which would give me (for example) under download: public, private, ftp and storage. But what if I scanned talkPHP? I should make ANOTHER level of subdirectory checks in a while loop, INSIDE my script (again). If that's so, I can just keep going and going making the same loop over and over and over again. I think you all get where I am going with this. Can somebody offer some insight on how to do this the GOOD way? Oh yea, as a footnote, I would like to be able to display them so that they SHOW UP as subdirectories in a print_r() function. So under download as key 0, I should get this; Code:
ArrayThanks in advance, ReSpawN |
Seriously ... no one?
|
Bumper di bump... Come on codefreaks, gimme some help here... :-(
|
First of all you wont get any answers faster by bumbing :P
second is have you tried google searches, to see if someone else might have done this already. for ideas etc.. ps this would be allot easier in java :) just saying.. hum some more information maybe could get you more answers well.. ps: have you tried some your self ? maybe could post what you have tried.. -Codefreek! |
Quote:
Alright, I will elaborate. I searched the web like a crazy bot, asked some friends, tried a bunch of ways on my own and so forth. All the outcomes where unsatisfactory. There you have it. If no one is just able to help me and just post some sort of spam then simply never mind. Codefreek, please, next time, just post a serious response instead of posting the obvious to gaining posts. Sorry, but this made me pretty cranky. :-/ |
I knew that I wrote something similar ages ago. After searching for hours (very messy file system!) I found it. There's no guarantees that it'll even work but I think it did what you're looking for.
http://phpfi.com/372392 |
I'll give it a look-see. Thanks Salathe!
|
| All times are GMT. The time now is 10:11 AM. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0