$sftp->rawlist(): in recursive mode

Get help with using the PHP Secure Communications Library.

Moderator: Nuxius

Forum rules
The purpose of this forum is to provide support for phpseclib, a pure PHP SSH / SFTP / RSA library.

Posts by new users are held in a moderation queue and are not publicly visible until the post is approved.

$sftp->rawlist(): in recursive mode

Postby steven » Tue Sep 03, 2013 5:49 pm

Hello people.

First of all: Very nice and usefull library!

My Question:

How can I use rawlist() in recursive mode?

http://phpseclib.sourceforge.net/sftp/examples.html


PHP has its own function for ftp recursive [ ftp_rawlist ( resource $ftp_stream , string $directory [, bool $recursive = false ] ) ]
http://php.net/manual/en/function.ftp-rawlist.php

Is it possible to do it with seclib?

Thank you very much, have a nice day.
steven
Traveler
 
Posts: 2
Joined: Tue Sep 03, 2013 5:43 pm

Re: $sftp->rawlist(): in recursive mode

Postby TerraFrost » Tue Sep 03, 2013 7:18 pm

I did not actually know about that particular feature of ftp_rawlist lol. But you're right - that would be a cool feature - I've added it to my to do list.

Thanks!
TerraFrost
Legendary Guard
 
Posts: 12357
Joined: Wed Dec 04, 2002 6:37 am

Re: $sftp->rawlist(): in recursive mode

Postby steven » Tue Sep 03, 2013 8:47 pm

Thank you :)
steven
Traveler
 
Posts: 2
Joined: Tue Sep 03, 2013 5:43 pm


Return to phpseclib support

Who is online

Users browsing this forum: No registered users and 1 guest

cron