Welcome Guest, Not a member yet? Register   Sign In
FTP Class - How can I browse ?
#1

[eluser]Saymont[/eluser]
Hello,

Im trying to use FTP Class just to browsing my images files.
So I use:

Code:
$this->ftp->list_files($dir);

Where $dir is my FTP directory that I want to browse.

Problem 01:

I dont now how to swap this variable ($dir) while browsing.
Example:
Suppose that $dir = www

Results:
_____________
.
..
docs
images
tree.jpg
______________

What kind of uri/link I insert into this values to increment www/.

If I use $dir = uri_string, the beginning of sentence gonna be wrong because have another "words" there.

How can I do it ?


Problem 02:

How can I list Folders first ?


Thank you ALL


Messages In This Thread
FTP Class - How can I browse ? - by El Forum - 12-27-2008, 09:07 AM
FTP Class - How can I browse ? - by El Forum - 12-27-2008, 09:56 AM
FTP Class - How can I browse ? - by El Forum - 12-27-2008, 10:31 AM
FTP Class - How can I browse ? - by El Forum - 12-29-2008, 03:41 AM
FTP Class - How can I browse ? - by El Forum - 12-29-2008, 10:06 AM
FTP Class - How can I browse ? - by El Forum - 12-29-2008, 10:29 AM



Theme © iAndrew 2016 - Forum software by © MyBB