Projects / smbwebclient.php

smbwebclient.php

smbwebclient.php is a simple PHP script that allows users to access Windows networks from a Web browser (using Samba tools).

Tags
Licenses
Implementation

Tweet this project Short link

Rss Recent releases

  • Rrelease-mid
  •  20 Apr 2005 13:29
  • Rrelease-after

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

  • Rrelease-mid
  •  23 Mar 2005 04:08
  • Rrelease-after

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

  • Rrelease-mid
  •  16 Mar 2005 15:36
  • Rrelease-after

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

  • Rrelease-mid
  •  02 Mar 2005 05:37
  • Rrelease-after

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

  • Rrelease-mid
  •  17 Feb 2005 02:56
  • Rrelease-after

Changes: This release adds support for virus scanning of uploaded files.

Rss Recent comments

Rcomment-before 02 Mar 2009 22:32 Rcomment-trans seaq Rcomment-after Thumbsup-wht

mime 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

Rcomment-before 12 Feb 2009 03:04 Rcomment-trans tmleow Rcomment-after

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.

Rcomment-before 30 Jul 2007 02:11 Rcomment-trans dj_judas21 Rcomment-after

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

Rcomment-before 22 Apr 2006 16:51 Rcomment-trans high Rcomment-after

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.

Rcomment-before 12 Dec 2005 18:16 Rcomment-trans madods Rcomment-after Thumbsup-wht

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'.

1bf5ca33c331c5e9578b7b27a43f767e_thumb

Project Spotlight

Independent FTP Daemon

An FTP server.

D56b96403544a54c7c6611fd778dd90a_thumb

Project Spotlight

checksysreport

A tool to perform automatic tests against a RHEL sysreport.