Projects tagged ‘cifs’


Jump to tag:

Projects tagged ‘cifs’

Filtered by Project Tags cifs

Refine results Project Tags samba (5) cms (2) calendar (2) windows (2) ldap (2) smb (2) webdav (2) email (2) s60 (1) storage (1) jmx (1) php (1)

[6 total ]

815 Users
   

Samba is an Open Source/Free Software suite that provides file and print services to all manner of SMB/CIFS clients, including the numerous versions of Microsoft Windows operating systems.
Created over 3 years ago.

26 Users
   

The eXo Platform combines several modules to build a powerful enterprise portal. It includes a content management system, a portlet container, a portal, hot deployable services, a portlet framework, a ... [More] customization tool, a workflow service, enhanced communication tools, and a bunch of bundled portlets. [Less]
Created over 3 years ago.

0 Users

We have moved to http://www.zumastor.org
Created 11 months ago.

0 Users

Application based on pysmb.py created by MikeTeo. I have ported/modified the original code to make it work in Symbian S60 phones. Prerequisite: 1. Python for s60 Note about license of this ... [More] application: The Library pysmb.py has license specified by MikeTeo. Other code is released under GPL License. Note about code quality: Current version was written in one day. [Less]
Created 11 months ago.

0 Users

CIFSClientThis library has been created to add some features unavailable at the moment in Mono implementation of C# . At same time, CIFSClient make more easy migration aplications who work with ... [More] servers CIFS (Samba). CIFSClient it's a C# wrapper of C samba libs and win32 libs. CIFSClient works transparently with shared files, and use functions who all developers know. Avaible functions:Copy (string, string, bool) CreateDirectory (string) Delete (string) DeleteDirectory (string) DirectoryExists(string) : bool Exists (string) : bool Move (string, string) ReadDir (string) : CIFSDirInfo Rename (string, string) RenameDirectory(string, string) ShareEnum (string) : SharesRequeriments:Kernel 2.6 1 Mono version 1.2.x or great SambaClient version 2 or great Example code: using System; using CIFSClient; //utilitzem el namespace CIFSClient using System.IO; namespace Exemple { class MainClass { public static void Main(string[] args) { //ruta remota string remot="//jmartin-desktop/fotos/"; //ruta local string local="temp"; //text de sortida string restext=""; //text per guardar l'extensió dels fitxer string ext=""; //si no existeix la carpeta local la crea if (!Directory.Exists(local)){ Directory.CreateDirectory(local); } //instanciar un objecte de la biblioteca Cifs cifs = new Cifs(); try{ //llegim el contingut del directori remot CIFSDirInfo rdir = cifs.ReadDir(remot); //recorrem tots els fitxers foreach(String file in rdir.GetFiles() ){ ext=file.Split('.')[1]; //mirem si tenen l'extensió jpg if (ext=="jpg"){ //copiem el fitxer remot a la carpeta local (permetem reescriure) cifs.Copy(remot+file,local+"/"+file,true); restext+="S'ha copiat el fitxer remot ("+remot+file+ ")"; restext+="a ("+local+"/"+file+")"; restext+=System.Environment.NewLine; } } } //controlem la excepció en cas que no tenir permisos per navegar la carpeta. catch (UnauthorizedAccessException e){ restext+="Error: No hi ha permisos per realitzar aquesta comanda."; restext+=System.Environment.NewLine; } //controlem l'excepció en cas de no existir la carpeta remota o local catch (System.IO.DirectoryNotFoundException e){ restext+="Error: No s'ha trobat el directori."; restext+=System.Environment.NewLine; } //controlem l'excepció en cas de no poder llegir ho escriure els fitxers catch (System.IO.IOException e){ restext+="Error: Al sistema de fitxers."; restext+=System.Environment.NewLine; } //controlem de forma genèrica qualsevol altra excepció catch (Exception e){ restext+="Error: No definit."; restext+=System.Environment.NewLine; } System.Console.WriteLine(restext); } } }At this example CIFSClient helps to search all JPG images in one folder and copy them in local temp folder. [Less]
Created 11 months ago.

0 Users

Created 11 months ago.