smbwebclient.php is a simple PHP script that allows users to access Windows networks from a Web browser (using Samba tools).
| Tags | Filesystems Networking Communications File Sharing |
|---|---|
| Licenses | GPL |
| Implementation | PHP |
Recent releases


Changes: A bug in downloading files with several versions of smbclient has been fixed.


Changes: This release adds the ability to download a folder in .tar, .tgz, and .zip.


Changes: A new menu option to log out. The French translation has been updated.


Changes: File names are now displayed correctly if the name does not use the ISO-8859-1 charset. The Polish translation was updated.


Changes: This release adds support for virus scanning of uploaded files.
- All comments
Recent commentsmime types for OpenOffice and Office2007 and accents
Hi, how can i add more mime.types for OpenOffice and Office 2007?
also anyone knows how to solve the accents issue??
thanks in advance
login failed for samba 3.2
samba 3.2 smbclient "-N" option has different outcome from the previous releases.
changing
$cmdline = $this->cfgSmbClient.' '.$smbcmd.' '.$options.' -N ';
to
$cmdline = $this->cfgSmbClient.' '.$smbcmd.' '.$options.' ';
may help.
little problem with zip download
I recently installed smbwebclient 2.9 on my web server. I am very impressed with your work, although I have one small problem. When I use the option to download the folder as a zip file, it fails. My apache error log shows the following:
zip error: Nothing to do! (try: zip -r -q /tmp/swcZvAi6vD.zip . -i *)
cat: /tmp/swcZvAi6vD.zip: No such file or directory
rm: cannot remove `/tmp/swcZvAi6vD.zip': No such file or directory
Obviously I checked that /tmp is world-writeable. Following the suggestion in the first line of that error log, i added ". -i" into line 227 of the script, which gave the following error:
zip error: Nothing to do! (/tmp/swcZYV18Be.zip)
cat: /tmp/swcZYV18Be.zip: No such file or directory
rm: cannot remove `/tmp/swcZYV18Be.zip': No such file or directory
I am using the following versions of software
CentOS 5.0
Kernel 2.6.18-8.1.8.el5
Apache 2.2.3
PHP 5.1.6
zip 2.31
tar 2:1.15.1-23.el5
I had a look at the script code, but I am not familiar with php. I hope you can help me to fix this problem!
Many thanks in advance,
Jonathan
Re: does this software work on the windows operating system?
I would love to help you with implementing this since this is exactly what I need. I'm sending you an e-mail.
I Love it
I Love this script! Its just what I need to give a single Mac running OS9.1 access to files on a Samba server. Definitely one I'll keep in my 'toolbox'.