SetWorkingDirectory - go one folder back (?)

Feb 6, 2014 at 7:40 AM
hi, currently using one ftpconnection and SetWorkingDirectory, there is a listview that lists the folders where the user double click a folder go there

complete structure!
"public_html/test/test2"

so at start
is in 'public_html' and hit 'test'
SetWorkingDirectory('test');

then lists 'test2'

how I can go back up level ? to list 'test' again?
Coordinator
Feb 6, 2014 at 12:38 PM
Edited Feb 6, 2014 at 12:38 PM
Same as working with your local file system, SetWorkingDirectory("..") to move up a level in the directory tree.