Your Moodle version

Blocks: Windows Share access (AKA Network Drive Access, SMB Web Client)

Maintained by Picture of Guy Thomas Guy Thomas
Access windows shares via a Moodle web interface.
Moodle 2.2, 2.3, 2.4, 2.5, 2.6, 2.7

Access windows shares via a Moodle web interface.

Please note. At the time of writing, version 2013101600 is the latest release and it is finally at release candidate status.

Development of version 2013101600 was sponsored by Overnet Data Ltd

Configuring shares is now done simply by adding them to a text area field (easier to edit, etc). This text area field is progressively enhanced in to a YUI3 table as per the following screen shot. Please can you provide feedback on this new configuration mechanism via the comments on this page.

admin page for windows share access block

picture of windows share access block and share folders and files being displayed


Screenshot #0


Picture of Guy Thomas
Guy Thomas (Lead maintainer): Main Developer
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Picture of Guy Thomas
    Tue, Apr 29, 2014, 9:54 PM
    Simon - I think you need to use the short name of the role - R[coursecreator] - also note that the course creator role will probably need to be allocated at system level. I think cohorts is a better method, again use the short name of the cohort.
  • Picture of Guy Thomas
    Tue, Apr 29, 2014, 9:55 PM
    rob, what actions caused this error? Opening a directory, logging in, etc...
  • Picture of rob coles
    Wed, Apr 30, 2014, 4:42 PM
    Morning Guy, it was just after logging in. It worked in chrome fine.

    I've double checked this morning and it appears to be working now. Will keep you updated.


  • Picture of rob coles
    Thu, May 1, 2014, 3:47 PM
    Morning Guy, I've managed to repeat the issue with smb. Doesn't seem related to the browser at all. I've got a few screenshots how can I send them?
  • Picture of Guy Thomas
    Thu, May 1, 2014, 4:08 PM
    Hi Rob. You can send them to gthomas[at]moodlerooms[dot]com. Logs are much more useful than screens hots. Also, please tell me more details about your server setup.
  • Picture of Zia Karim
    Thu, Jul 24, 2014, 7:58 AM
    I am getting this error.Please Help.

    The requested URL /blocks/smb_web_client/smbwebclient_moodle.php was not found on this server.
  • Picture of Paul Mayo
    Wed, Nov 19, 2014, 9:55 PM
    Hello, I am trying to get this block to work. I have followed all the instructions and when i try to run smbclient from cmd it says access denied.
    On the moodle site I just get the windows with tool bar at top and dropdown bbox with new folder etc..
  • Picture of Paul Mayo
    Wed, Nov 19, 2014, 9:58 PM
    sorry I should have said:
    Windows server 2008r2
    moodle 2.7
    cygwin 64
    sbmclient 3.0.7
  • Picture of Larry Miller
    Tue, Nov 25, 2014, 10:12 PM
    I have this working on server 2008 r2 and using moodle 2.7. I originally tried the 64 bit version of cygwin, but it didnt work. You need to use the 32bit. and follow the rest od the instructions. On the moodle block I had to put the share path in with the ip address of the server where the share was. It worked.
  • Picture of Larry Miller
    Wed, Dec 3, 2014, 9:26 PM
    OK, I do have it working to a point.
    I can see me shares, but when clicking on a file (word doc) it takes ages before it says starting download, then it only takes 10 minutes before it then says failed.
    I can then take the same type file from my home computer and upload it with in a minute. I dont get it!!
    windows server 2008r2
    Moodle 2.7.2
    latest version smbwebclient
  • Picture of Dan Jackson
    Wed, Feb 18, 2015, 12:01 AM
    CentOS 7, Moodle 2.6, smbclient 4.1.1

    On line 1587 of class_smbwebclient.php, add N to the list of attributes in order for this to work.

    We recently migrated from an Ubuntu server to a CentOS server and found this block no longer worked properly (we were getting a rogue "N" at the end of file names and they were coming up OBJECT_NAME_NOT_FOUND). Our Moodle support company looked at it and let us know that this was the problem.
  • Picture of Guy Thomas
    Wed, Feb 18, 2015, 12:43 AM
    @Dan Jackson - I've uploaded a new version today that fixes the 'N' issue.
  • Picture of Paul Clarke
    Mon, Mar 16, 2015, 9:48 PM
    Hi Guy - Long time no speak!!

    I have a few small issues with the WSAB Block on Moodle 2.7

    The block is working, however. The home folder picks up the same name as the Block Title. Even though I have changed it in the config.

    Secondly I get the message “Warning: Creating default object from empty value in E:\wwwroot\moodle\config.php on line 5 share definition missing pipe symbol” displayed at the top of the window each time we open a folder.

    Thirdly, as our logins are linked to Active Directory, could we get the block to automatically authenticate us instead of asking for it again?
  • Picture of Paul Clarke
    Tue, Mar 17, 2015, 4:15 PM
    Hi Guy, we have managed to get rid of the error.

    However, still can;t get it to authenticate automatically even with LDAP Capture installed.

    Also we have the issue with files downloading corrupted or only 1k being sent.

    I have disabled the AV scan, I have also used IP address rather than FQDN of the windows server that the share resides in.

    Any ideas before I abandon this?
  • Picture of tim larcombe
    Sat, Sep 19, 2015, 3:04 AM
    I am hoping someone can help. We have installed this plugin on moodle 2.9. I am testing it only as an admin at the moment. It seems to have installed just fine. I can get all the way to see my folders and files. But i can not open or download anything. Is there something i need to do, to be able to do this?
1 2 3 4 5 6 7
Please login to post comments