Open
Description
I can retrieve files from my sftp via. This works:
$contents = SSH::into('my_sftp')->getString('filename.csv');
However, I can't get the run method to work:
$commands = ['ls'];
SSH::into('my_sftp')->run($commands, function($line)
{
// this callback is never called
echo $line.PHP_EOL;
});
Furthermore, status is always === false, in both cases above.
$status = SSH::into('banz_sftp')->status();
Thanks for any pointer or help!
Stefan
Metadata
Metadata
Assignees
Labels
No labels