1234567891011 |
- <?php
- $sftp = new Net_SFTP('www.domain.tld');
- $sftp->login('username', 'password');
- $directory = '/some/directory';
- $sftp->delete($directory, true);
- $adapter = new Gaufrette\Adapter\PhpseclibSftp($sftp, $directory, true);
- return $adapter;
|