PHP SAMBA/SMB/CIFS and smb4php classes -
have access media files network storage accessible through smb , common internet file system. php website required file manipulation operations on remote storage block. may suggest alternate method or if have idea or may on:
- configuring samba/smb/cifs
- smb/samba/cifs client configuration
- accessing file system through php - research shows php provides smb4php classes in regard, no support on how use in complete setup.
whether or not can mount smb share directly on host os depend on host os is. talking samba suggests might sort of unix / posix / linux - one?
most versions of linux support filesystem type of smbfs (usually man page mount list supported types).
mount -t smbfs -o username=bill,password=billions //msbox/netshare /some/local/dir
(note smbfs vfs developed same people write samba - seperate product).
samba ships cli client smbclient. fetch file using need exec right arguments (note if don't sepcify required arguments on command line, smbclient drop interactive mode). see man page installed smbclient details of arguments , formatting.
research shows php provides smb4php classes
no doesn't. assume you're talking this - not supplied people maintain php. wrapper around smbclient program. per comment on site (see support forum), yes, documentation not great - i've added details on format of connection string.
please cite sources.
Comments
Post a Comment