
teodorix - 2016-09-26 14:13:02
I try to get a file from server via smb protocol:
$file = 'myserver.com\e$\20160309\09.08.13 - 2468.pdf';
$smblink = "smb://user:123456@".$file;
$newsmb = new smb;
$path = $newsmb->parse_url($smblink);
and now how I can get a file stream or copy to my server&
$r = $newsmb->execute("copy *", $path);
print_r($r);